mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-21 18:11:10 +00:00
Fix tests
This commit is contained in:
parent
f808b01692
commit
38520658ad
9 changed files with 34 additions and 39 deletions
|
@ -230,8 +230,8 @@ class ExportControllerTest extends WallabagCoreTestCase
|
|||
$this->assertArrayHasKey('created_at', $content[0]);
|
||||
$this->assertArrayHasKey('updated_at', $content[0]);
|
||||
|
||||
$this->assertSame($contentInDB->isArchived(), $content[0]['is_archived']);
|
||||
$this->assertSame($contentInDB->isStarred(), $content[0]['is_starred']);
|
||||
$this->assertSame((int) $contentInDB->isArchived(), $content[0]['is_archived']);
|
||||
$this->assertSame((int) $contentInDB->isStarred(), $content[0]['is_starred']);
|
||||
$this->assertSame($contentInDB->getTitle(), $content[0]['title']);
|
||||
$this->assertSame($contentInDB->getUrl(), $content[0]['url']);
|
||||
$this->assertSame([['text' => 'This is my annotation /o/', 'quote' => 'content']], $content[0]['annotations']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue