赠金币 增加右下角弹窗
This commit is contained in:
@@ -309,6 +309,9 @@ class ChatControllerTest extends TestCase
|
||||
|
||||
$this->assertNotNull($giftMessage);
|
||||
$this->assertTrue((bool) ($giftMessage['is_secret'] ?? false));
|
||||
$this->assertSame('💰 赠金币到账', $giftMessage['toast_notification']['title'] ?? null);
|
||||
$this->assertSame('💰', $giftMessage['toast_notification']['icon'] ?? null);
|
||||
$this->assertSame('#f59e0b', $giftMessage['toast_notification']['color'] ?? null);
|
||||
|
||||
// 赠送方查看房间历史时,应保留这条私聊通知。
|
||||
$senderHistory = $this->actingAs($sender)
|
||||
|
||||
Reference in New Issue
Block a user