File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ private function createCodeigniter(): void
6666
6767 // Inject mock router.
6868 $ this ->routes = Services::routes ();
69- $ this ->routes ->resource ('work ' , ['controller ' => Worker::class]);
69+ $ this ->routes ->resource ('work ' , ['controller ' => '\\' . Worker::class]);
7070 Services::injectMock ('routes ' , $ this ->routes );
7171
7272 $ config = new App ();
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ private function createCodeigniter(): void
6060
6161 // Inject mock router.
6262 $ this ->routes = Services::routes ();
63- $ this ->routes ->presenter ('work ' , ['controller ' => Worker2::class]);
63+ $ this ->routes ->presenter ('work ' , ['controller ' => '\\' . Worker2::class]);
6464 Services::injectMock ('routes ' , $ this ->routes );
6565
6666 $ config = new App ();
You can’t perform that action at this time.
0 commit comments