test: make code compatible with more recent PHPUnit versions

This commit is contained in:
Fonata
2022-12-26 20:49:16 +01:00
committed by Fonata
parent bb3abe97de
commit 2c46b3fd14

View File

@@ -62,7 +62,7 @@ class ConstructTest extends TestCase {
$verb = strtok($script_file, '_.');
if (!in_array($verb, ['download', 'save'], true)) {
$this->assertContains('<td>', $ob_get_clean);
$this->assertStringContainsString('<td>', $ob_get_clean);
}
}
chdir('..');