From 1b5f49aa637a2e715a458d139f81d99641185c0d Mon Sep 17 00:00:00 2001 From: Ghislain Loas <ghislo@sandbox.pergame.net> Date: Thu, 8 Oct 2015 16:06:35 +0200 Subject: [PATCH] hotline #29412 fix test failure --- tests/library/Class/NoticeTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/library/Class/NoticeTest.php b/tests/library/Class/NoticeTest.php index 100a3b22dc1..64adb877aeb 100644 --- a/tests/library/Class/NoticeTest.php +++ b/tests/library/Class/NoticeTest.php @@ -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()); -- GitLab