修复礼包领取弹窗重复显示
This commit is contained in:
@@ -280,6 +280,8 @@ class RedPacketControllerTest extends TestCase
|
||||
$this->assertFalse((bool) ($publicMessage['is_secret'] ?? true));
|
||||
$this->assertStringContainsString('金币礼包', (string) ($publicMessage['toast_notification']['message'] ?? ''));
|
||||
$this->assertSame('🧧', $publicMessage['toast_notification']['icon'] ?? null);
|
||||
$this->assertSame($user->username, $publicMessage['toast_notification']['actor_username'] ?? null);
|
||||
$this->assertTrue((bool) ($publicMessage['toast_notification']['skip_for_actor'] ?? false));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user