mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 08:36:39 +00:00
Updated test: no output in save_to_file_without_header_row.php
Thus, effectively, we just test for valid PHP syntax.
This commit is contained in:
@@ -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('<td>', $ob_get_clean);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user