upgraded to phpunit 8 (#1155)
This commit is contained in:
@@ -53,9 +53,9 @@ class CsvRendererTest extends AbstractRendererTest
|
||||
$this->assertTrue(file_exists($file->getRealPath()));
|
||||
$content = file_get_contents($file->getRealPath());
|
||||
|
||||
$this->assertContains('"' . $totalDuration . '"', $content);
|
||||
$this->assertContains('"' . $totalRate . '"', $content);
|
||||
$this->assertContains('"' . $expectedRate . '"', $content);
|
||||
$this->assertStringContainsString('"' . $totalDuration . '"', $content);
|
||||
$this->assertStringContainsString('"' . $totalRate . '"', $content);
|
||||
$this->assertStringContainsString('"' . $expectedRate . '"', $content);
|
||||
$this->assertEquals($expectedRows, substr_count($content, PHP_EOL));
|
||||
$this->assertEquals($expectedDescriptions, substr_count($content, 'activity description'));
|
||||
$this->assertEquals($expectedUser1, substr_count($content, ',"kevin",'));
|
||||
|
||||
Reference in New Issue
Block a user