feat: ds
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user