vmangos
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
namespace Tests\Feature;
|
||||
|
||||
use App\Models\GameAccountUser;
|
||||
use App\Services\AzerothCoreAccountService;
|
||||
use App\Services\VMangosAccountService;
|
||||
use App\Services\InviteCodeService;
|
||||
use Illuminate\Support\Collection;
|
||||
use Inertia\Testing\AssertableInertia as Assert;
|
||||
@@ -28,7 +28,7 @@ class AdminAccountsFeatureTest extends TestCase
|
||||
|
||||
public function test_admin_can_open_accounts_page(): void
|
||||
{
|
||||
$this->mock(AzerothCoreAccountService::class, function (MockInterface $mock): void {
|
||||
$this->mock(VMangosAccountService::class, function (MockInterface $mock): void {
|
||||
$mock->shouldReceive('accountTypeStats')
|
||||
->once()
|
||||
->with(null)
|
||||
@@ -87,7 +87,7 @@ class AdminAccountsFeatureTest extends TestCase
|
||||
|
||||
public function test_admin_can_open_bots_tab(): void
|
||||
{
|
||||
$this->mock(AzerothCoreAccountService::class, function (MockInterface $mock): void {
|
||||
$this->mock(VMangosAccountService::class, function (MockInterface $mock): void {
|
||||
$mock->shouldReceive('accountTypeStats')
|
||||
->once()
|
||||
->with(null)
|
||||
@@ -137,7 +137,7 @@ class AdminAccountsFeatureTest extends TestCase
|
||||
|
||||
public function test_admin_can_update_access_level(): void
|
||||
{
|
||||
$this->mock(AzerothCoreAccountService::class, function (MockInterface $mock): void {
|
||||
$this->mock(VMangosAccountService::class, function (MockInterface $mock): void {
|
||||
$mock->shouldReceive('findUserById')
|
||||
->once()
|
||||
->with(12)
|
||||
|
||||
Reference in New Issue
Block a user