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

hotline #55142 test fix

parent c536d1e2
Branches
Tags
2 merge requests!2334Master,!2133Hotline#55142 1 dtouch
Pipeline #1308 canceled with stage
in 2 minutes and 48 seconds
......@@ -18,7 +18,6 @@
* along with BOKEH; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
require_once 'AbstractControllerTestCase.php';
class UploadControllerMultipleActionTest extends AbstractControllerTestCase {
public function setUp() {
......@@ -96,7 +95,7 @@ class UploadControllerMultipleProcessPostAction extends AbstractControllerTestCa
/** @test */
public function withModelShouldCallFileProcessingMethod() {
$album = Storm_Test_ObjectWrapper::on(Class_Album::getLoader()->newInstance())
$album = Storm_Test_ObjectWrapper::on(Class_Album::getLoader()->newInstance(['titre' => 'Pomdapi']))
->whenCalled('addFile')->answers(array('success' => 'true'))
->whenCalled('index')->answers(null)
->getWrapper();
......
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