From cacdc2c569cc51efa481d3583ce04dac9ef5f21a Mon Sep 17 00:00:00 2001 From: kenjis Date: Thu, 1 Feb 2024 11:10:44 +0900 Subject: [PATCH] docs: fix sample code in testing/controllers `namespace CodeIgniter` should not be used in app testing. --- user_guide_src/source/testing/controllers/001.php | 4 ++-- user_guide_src/source/testing/controllers/002.php | 6 +++--- user_guide_src/source/testing/controllers/011.php | 4 ++-- user_guide_src/source/testing/controllers/012.php | 4 ++-- user_guide_src/source/testing/controllers/014.php | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/user_guide_src/source/testing/controllers/001.php b/user_guide_src/source/testing/controllers/001.php index 9162fa0aeabd..ae51187f949d 100644 --- a/user_guide_src/source/testing/controllers/001.php +++ b/user_guide_src/source/testing/controllers/001.php @@ -1,12 +1,12 @@ withURI('http://example.com/categories') - ->controller(\App\Controllers\ForumController::class) + ->controller(ForumController::class) ->execute('showCategories'); $this->assertTrue($result->isOK()); diff --git a/user_guide_src/source/testing/controllers/011.php b/user_guide_src/source/testing/controllers/011.php index f2ab558b8da2..e53aa42c8768 100644 --- a/user_guide_src/source/testing/controllers/011.php +++ b/user_guide_src/source/testing/controllers/011.php @@ -1,11 +1,11 @@