Fix tests

This commit is contained in:
Jeremy Benoist 2016-11-06 09:58:07 +01:00
parent 9ab024b4f5
commit e92fbdc852
No known key found for this signature in database
GPG Key ID: BCA73962457ACC3C
2 changed files with 2 additions and 2 deletions

View File

@ -24,6 +24,6 @@ class ImportControllerTest extends WallabagCoreTestCase
$crawler = $client->request('GET', '/import/');
$this->assertEquals(200, $client->getResponse()->getStatusCode());
$this->assertEquals(7, $crawler->filter('blockquote')->count());
$this->assertEquals(8, $crawler->filter('blockquote')->count());
}
}

View File

@ -121,7 +121,7 @@ class PinboardControllerTest extends WallabagCoreTestCase
$this->assertNotEmpty($content->getMimetype());
$this->assertNotEmpty($content->getPreviewPicture());
$this->assertNotEmpty($content->getLanguage());
$this->assertEquals(0, count($content->getTags()));
$this->assertEquals(2, count($content->getTags()));
$this->assertInstanceOf(\DateTime::class, $content->getCreatedAt());
$this->assertEquals('2016-10-26', $content->getCreatedAt()->format('Y-m-d'));
}