This commit is contained in:
2026-10-03 14:33:08 +04:00
parent 6a73d760c4
commit 93a9442e1c
67 changed files with 941 additions and 698 deletions
+2 -2
View File
@@ -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 {