优化 游戏金币余额显示
This commit is contained in:
@@ -36,7 +36,7 @@ class BaccaratControllerTest extends TestCase
|
||||
public function test_can_get_current_round()
|
||||
{
|
||||
/** @var \App\Models\User $user */
|
||||
$user = User::factory()->create();
|
||||
$user = User::factory()->create(['jjb' => 3456]);
|
||||
|
||||
$round = BaccaratRound::forceCreate([
|
||||
'status' => 'betting',
|
||||
@@ -57,6 +57,7 @@ class BaccaratControllerTest extends TestCase
|
||||
$response->assertStatus(200);
|
||||
$response->assertJsonStructure(['round' => ['id', 'status', 'bet_closes_at']]);
|
||||
$this->assertEquals($round->id, $response->json('round.id'));
|
||||
$this->assertSame(3456, $response->json('jjb'));
|
||||
}
|
||||
|
||||
public function test_can_bet()
|
||||
|
||||
Reference in New Issue
Block a user