vmangos
This commit is contained in:
@@ -4,7 +4,7 @@ namespace Tests\Feature;
|
||||
|
||||
use App\Models\BalanceTransaction;
|
||||
use App\Models\GameAccountUser;
|
||||
use App\Services\AzerothCoreAccountService;
|
||||
use App\Services\VMangosAccountService;
|
||||
use App\Services\BalanceService;
|
||||
use Illuminate\Support\Collection;
|
||||
use Inertia\Testing\AssertableInertia as Assert;
|
||||
@@ -40,7 +40,7 @@ class AdminBalancesFeatureTest extends TestCase
|
||||
$admin = $this->makeUser(3);
|
||||
$player = $this->makeUser(0, 7, 'PLAYER');
|
||||
|
||||
$this->mock(AzerothCoreAccountService::class, function (MockInterface $mock) use ($player): void {
|
||||
$this->mock(VMangosAccountService::class, function (MockInterface $mock) use ($player): void {
|
||||
$mock->shouldReceive('findUserByUsername')->once()->with('PLAYER')->andReturn($player);
|
||||
});
|
||||
$this->mock(BalanceService::class, function (MockInterface $mock) use ($admin): void {
|
||||
|
||||
Reference in New Issue
Block a user