Fix tests

This commit is contained in:
Jeremy Benoist 2016-09-11 23:57:27 +02:00
parent ebf5e5087d
commit 886d479734
No known key found for this signature in database
GPG Key ID: BCA73962457ACC3C

View File

@ -99,9 +99,9 @@ class WallabagV2ControllerTest extends WallabagCoreTestCase
$this->getLoggedInUserId() $this->getLoggedInUserId()
); );
$this->assertEmpty($content->getMimetype()); $this->assertNotEmpty($content->getMimetype());
$this->assertEmpty($content->getPreviewPicture()); $this->assertNotEmpty($content->getPreviewPicture());
$this->assertEmpty($content->getLanguage()); $this->assertNotEmpty($content->getLanguage());
$this->assertEquals(0, count($content->getTags())); $this->assertEquals(0, count($content->getTags()));
$content = $client->getContainer() $content = $client->getContainer()