mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-15 09:57:41 +01:00
Changed export test
This commit is contained in:
parent
a375fed7bf
commit
a162b1a99b
@ -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 New Issue
Block a user