diff --git a/tests/methods/ConstructTest.php b/tests/methods/ConstructTest.php index 35ddd33..c0a91af 100644 --- a/tests/methods/ConstructTest.php +++ b/tests/methods/ConstructTest.php @@ -59,7 +59,9 @@ class ConstructTest extends TestCase { /** @noinspection PhpIncludeInspection */ require $script_file; $ob_get_clean = ob_get_clean(); - if ($script_file != 'download.php') { + $verb = strtok($script_file, '_.'); + + if (!in_array($verb, ['download', 'save'], true)) { $this->assertContains('