Skip to content
Snippets Groups Projects
Commit 1b5f49aa authored by Ghislain Loas's avatar Ghislain Loas
Browse files

hotline #29412 fix test failure

parent 561e29b0
Branches
Tags
No related merge requests found
......@@ -202,14 +202,14 @@ class NoticeVignetteTest extends Storm_Test_ModelTestCase {
Class_Article::setFileWriter($this->mock()
->whenCalled('fileExists')
->with('marsu.jpg')
->answers(false)
->answers(true)
->beStrict());
$image = Storm_Test_ObjectWrapper::mock();
Class_WebService_Thumbnail_Provider_Article::setDefaultImageFactory(
Storm_Test_ObjectWrapper::mock()
->whenCalled('newImage')
->with(Class_Url::absolute('marsu.jpg'))
->with('marsu.jpg')
->answers($image)
->beStrict());
......
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