diff --git a/tests/test_app/TestApp/Shell/TestingDispatchShell.php b/tests/test_app/TestApp/Shell/TestingDispatchShell.php index dbddf4db5ae..9ed1f52018b 100644 --- a/tests/test_app/TestApp/Shell/TestingDispatchShell.php +++ b/tests/test_app/TestApp/Shell/TestingDispatchShell.php @@ -80,7 +80,7 @@ public function testTaskDispatchWithMultipleParams() $this->out('I am a test task, I dispatch another Shell'); Configure::write('App.namespace', 'TestApp'); $this->dispatchShell([ - 'command' => ['testing_dispatch dispatch_test_task_params'], + 'command' => 'testing_dispatch dispatch_test_task_params', 'extra' => [ 'foo' => 'bar', 'fooz' => 'baz'