новый дизайн

This commit is contained in:
2026-07-25 18:36:45 +04:00
parent df7f98fe8b
commit c43a73e148
54 changed files with 4234 additions and 1110 deletions
+10 -3
View File
@@ -7,6 +7,7 @@ use App\Services\AzerothCoreAccountService;
use App\Services\BalanceService;
use App\Services\GameClientDownloadService;
use Illuminate\Support\Collection;
use Inertia\Testing\AssertableInertia as Assert;
use Mockery\MockInterface;
use Tests\TestCase;
@@ -48,9 +49,15 @@ class CabinetFeatureTest extends TestCase
$response = $this->actingAs($user)->get(route('cabinet.index'));
$response->assertOk();
$response->assertSee('Arthion');
$response->assertSee('1 250,00');
$response->assertSee('Скачать лаунчер');
$response->assertInertia(fn (Assert $page) => $page
->component('Cabinet/Index', false)
->where('account.username', 'PLAYERONE')
->where('wallet.formatted_amount', '1 250,00')
->where('characters.0.name', 'Arthion')
->has('characters', 1)
->where('urls.client', route('cabinet.client'))
->etc()
);
}
public function test_authenticated_user_can_change_password(): void