mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-23 08:06:33 +00:00
Changed export test
This commit is contained in:
parent
a375fed7bf
commit
a162b1a99b
1 changed files with 1 additions and 3 deletions
|
@ -189,11 +189,9 @@ class ExportControllerTest extends WallabagCoreTestCase
|
|||
$this->assertContains($contentInDB[0]['language'], $csv[1]);
|
||||
$this->assertContains($contentInDB[0]['createdAt']->format('d/m/Y h:i:s'), $csv[1]);
|
||||
|
||||
$expectedTag = [];
|
||||
foreach ($contentInDB[0]['tags'] as $tag) {
|
||||
$expectedTag[] = $tag['label'];
|
||||
$this->assertContains($tag['label'], $csv[1]);
|
||||
}
|
||||
$this->assertContains(implode(', ', $expectedTag), $csv[1]);
|
||||
}
|
||||
|
||||
public function testJsonExport()
|
||||
|
|
Loading…
Reference in a new issue