Fix tests
This commit is contained in:
parent
2f08456ed9
commit
00da092e45
11 changed files with 21 additions and 389 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
namespace Pterodactyl\Tests\Integration;
|
||||
|
||||
use Illuminate\Http\Response;
|
||||
use Illuminate\Testing\Assert as PHPUnit;
|
||||
use Pterodactyl\Exceptions\DisplayException;
|
||||
use Illuminate\Validation\ValidationException;
|
||||
|
@ -35,4 +36,12 @@ class TestResponse extends IlluminateTestResponse
|
|||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return $this
|
||||
*/
|
||||
public function assertForbidden()
|
||||
{
|
||||
return self::assertStatus(Response::HTTP_FORBIDDEN);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue