mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 08:36:39 +00:00
Re-add support for PHPUnit 6.5.14 and PHP ^7.0
This commit is contained in:
@@ -61,8 +61,13 @@ class ConstructTest extends TestCase {
|
|||||||
$ob_get_clean = ob_get_clean();
|
$ob_get_clean = ob_get_clean();
|
||||||
$verb = strtok($script_file, '_.');
|
$verb = strtok($script_file, '_.');
|
||||||
|
|
||||||
if (!in_array($verb, ['download', 'save'], true)) {
|
if (!in_array($verb, ['download', 'save'], TRUE)) {
|
||||||
$this->assertStringContainsString('<td>', $ob_get_clean);
|
if (method_exists($this, 'assertStringContainsString')) {
|
||||||
|
$this->assertStringContainsString('<td>', $ob_get_clean);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$this->assertContains('<td>', $ob_get_clean);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
chdir('..');
|
chdir('..');
|
||||||
|
|||||||
Reference in New Issue
Block a user