- $this->assertEquals($contentInDB->isArchived(), $content[0]['is_archived']);
- $this->assertEquals($contentInDB->isStarred(), $content[0]['is_starred']);
- $this->assertEquals($contentInDB->getTitle(), $content[0]['title']);
- $this->assertEquals($contentInDB->getUrl(), $content[0]['url']);
- $this->assertEquals([['text' => 'This is my annotation /o/', 'quote' => 'content']], $content[0]['annotations']);
- $this->assertEquals($contentInDB->getMimetype(), $content[0]['mimetype']);
- $this->assertEquals($contentInDB->getLanguage(), $content[0]['language']);
- $this->assertEquals($contentInDB->getReadingtime(), $content[0]['reading_time']);
- $this->assertEquals($contentInDB->getDomainname(), $content[0]['domain_name']);
- $this->assertEquals(['foo', 'baz'], $content[0]['tags']);
+ $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']);
+ $this->assertSame($contentInDB->getMimetype(), $content[0]['mimetype']);
+ $this->assertSame($contentInDB->getLanguage(), $content[0]['language']);
+ $this->assertSame($contentInDB->getReadingtime(), $content[0]['reading_time']);
+ $this->assertSame($contentInDB->getDomainname(), $content[0]['domain_name']);
+ $this->assertContains('baz', $content[0]['tags']);
+ $this->assertContains('foo', $content[0]['tags']);