This commit is contained in:
hashbro
2026-08-24 06:23:07 +08:00
parent c00396dc1f
commit db574cc629
114 changed files with 108297 additions and 266 deletions
+3 -1
View File
@@ -375,7 +375,9 @@ class TelegramBotTest extends TestCase
$this->assertIsArray($row);
$this->assertStringContainsString('推广代码', (string) ($row['text'] ?? ''));
$copy = (string) data_get($row, 'copy_text.text', '');
$this->assertStringContainsString('<iframe src="https://cdn.example.com/channel/S.U.N2/weifile/weifile.html"', $copy);
$this->assertLessThanOrEqual(256, strlen($copy));
$this->assertStringContainsString('/channel/S.U.N2/weifile/weifile.html', $copy);
$this->assertStringNotContainsString('https://cdn.example.com', $copy);
$this->assertStringContainsString('pointer-events:none', $copy);
}