Skip to content
Snippets Groups Projects
Commit c457c0c7 authored by Laurent's avatar Laurent
Browse files

rd #14085 pnb

fix failing test on CI
parent 37f068c5
Branches
Tags
4 merge requests!780Master,!722Master,!717Master,!714Rd #14085 pnb
......@@ -76,12 +76,13 @@ class DilicomPNBOfferParserTest extends Storm_Test_ModelTestCase {
}
/** @test */
public function firstAlbumDownloadedThumbnailShouldBeSmallDotJpg() {
$this->_books[0]->import();
$this->assertTrue($this->_http_client->methodHasBeenCalledWithParams('open_url',
['http://assets.edenlivres.fr/assets/publications/23416/cover/small.jpg']),
$this->_http_client->getFirstAttributeForMethodCallAt('open_url', 0));
/**
* @depends firstAlbumShouldBePlusJamaisSansElle
* @test
*/
public function firstAlbumThumbnailShouldBeSmallDotJpg($album) {
$this->assertEquals('http://assets.edenlivres.fr/assets/publications/23416/cover/small.jpg',
$album->getPoster());
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment