php-cs-fixer
This commit is contained in:
parent
16e34af773
commit
3ea6d45cda
87 changed files with 151 additions and 256 deletions
|
@ -2,7 +2,6 @@
|
|||
|
||||
namespace Pterodactyl\Tests\Integration\Api\Client\Server\Backup;
|
||||
|
||||
use Mockery;
|
||||
use Mockery\MockInterface;
|
||||
use Illuminate\Http\Response;
|
||||
use Pterodactyl\Models\Backup;
|
||||
|
@ -48,7 +47,7 @@ class DeleteBackupTest extends ClientApiIntegrationTestCase
|
|||
$backup = Backup::factory()->create(['server_id' => $server->id]);
|
||||
|
||||
$this->repository->expects('setServer->delete')->with(
|
||||
Mockery::on(function ($value) use ($backup) {
|
||||
\Mockery::on(function ($value) use ($backup) {
|
||||
return $value instanceof Backup && $value->uuid === $backup->uuid;
|
||||
})
|
||||
)->andReturn(new Response());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue