Skip to content
Permalink
Browse files

fix SecurityComponentTest, does not use event data for test

  • Loading branch information...
thinkingmedia
thinkingmedia committed Aug 30, 2016
1 parent 44fca0e commit 6f3c0287a23e8aeefed5f1d52bf4e583ca183197
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/TestCase/Controller/Component/SecurityComponentTest.php
@@ -213,7 +213,7 @@ public function testBlackholeWithBrokenCallback()
'action' => 'index'
]);
$Controller = new \TestApp\Controller\SomePagesController($request);
$event = new Event('Controller.startup', $Controller, $this->Controller);
$event = new Event('Controller.startup', $Controller);
$Security = new SecurityComponent($Controller->components());
$Security->config('blackHoleCallback', '_fail');
$Security->startup($event);

0 comments on commit 6f3c028

Please sign in to comment.
You can’t perform that action at this time.