Laravel 10 (#4706)
This commit is contained in:
parent
ad4ddc6300
commit
1d38b4f0e2
136 changed files with 1735 additions and 2008 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