tests: Fix url generation mocks and cleanup some phpunit code
Signed-off-by: Julius Knorr <jus@bitgrid.net>
This commit is contained in:
committed by
backportbot[bot]
parent
81c8aad66f
commit
e9e5234925
@@ -58,7 +58,7 @@ class ExceptionMiddlewareTest extends \Test\TestCase {
|
||||
}
|
||||
|
||||
|
||||
public function dataAfterException() {
|
||||
public static function dataAfterException() {
|
||||
return [
|
||||
[new NoPermissionException('No permission'), 403, 'No permission'],
|
||||
[new NotFoundException('Not found'), 404, 'Not found']
|
||||
|
||||
Reference in New Issue
Block a user