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\BalanceService;
|
||||
use App\Services\GameClientDownloadService;
|
||||
use App\Services\StoreAvailabilityService;
|
||||
@@ -34,7 +34,7 @@ class CabinetFeatureTest extends TestCase
|
||||
{
|
||||
$user = $this->makeUser();
|
||||
|
||||
$this->mock(AzerothCoreAccountService::class, function (MockInterface $mock) use ($user): void {
|
||||
$this->mock(VMangosAccountService::class, function (MockInterface $mock) use ($user): void {
|
||||
$mock->shouldReceive('charactersForAccount')
|
||||
->once()
|
||||
->with($user->id)
|
||||
@@ -90,7 +90,7 @@ class CabinetFeatureTest extends TestCase
|
||||
{
|
||||
$user = $this->makeUser();
|
||||
|
||||
$this->mock(AzerothCoreAccountService::class, function (MockInterface $mock) use ($user): void {
|
||||
$this->mock(VMangosAccountService::class, function (MockInterface $mock) use ($user): void {
|
||||
$mock->shouldReceive('validatePassword')
|
||||
->once()
|
||||
->with($user, 'OldPass123')
|
||||
@@ -115,7 +115,7 @@ class CabinetFeatureTest extends TestCase
|
||||
{
|
||||
$user = $this->makeUser();
|
||||
|
||||
$this->mock(AzerothCoreAccountService::class, function (MockInterface $mock) use ($user): void {
|
||||
$this->mock(VMangosAccountService::class, function (MockInterface $mock) use ($user): void {
|
||||
$mock->shouldReceive('validatePassword')
|
||||
->once()
|
||||
->with($user, 'WrongPass123')
|
||||
|
||||
Reference in New Issue
Block a user