diff options
author | David King <imkingdavid@gmail.com> | 2012-11-16 10:29:35 -0500 |
---|---|---|
committer | David King <imkingdavid@gmail.com> | 2012-11-16 17:05:57 -0500 |
commit | 230897723c9e5fc5534d9781b04ffd8dac70d51b (patch) | |
tree | a3849aadeeaa92d456cdd96941b6bb5c3b2ced4a /tests/controller/controller_test.php | |
parent | e516680859744e69b696ac0054ec3aefd94175b7 (diff) | |
download | forums-230897723c9e5fc5534d9781b04ffd8dac70d51b.tar forums-230897723c9e5fc5534d9781b04ffd8dac70d51b.tar.gz forums-230897723c9e5fc5534d9781b04ffd8dac70d51b.tar.bz2 forums-230897723c9e5fc5534d9781b04ffd8dac70d51b.tar.xz forums-230897723c9e5fc5534d9781b04ffd8dac70d51b.zip |
[feature/controller] Reword comment for clarification
PHPBB3-10864
Diffstat (limited to 'tests/controller/controller_test.php')
-rw-r--r-- | tests/controller/controller_test.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/controller/controller_test.php b/tests/controller/controller_test.php index 5a4c65e109..198fb3c6dd 100644 --- a/tests/controller/controller_test.php +++ b/tests/controller/controller_test.php @@ -43,9 +43,8 @@ class phpbb_controller_test extends phpbb_test_case public function test_controller_resolver() { $container = new ContainerBuilder(); - // For some reason, I cannot get it to load more than one services - // file at a time, even when givein multiple paths - // So instead, I am looping through all of the paths + // YamlFileLoader only uses one path at a time, so we need to loop + // through all of the ones we are using. foreach (array(__DIR__.'/config', __DIR__.'/ext/foo/config') as $path) { $loader = new YamlFileLoader($container, new FileLocator($path)); @@ -53,7 +52,7 @@ class phpbb_controller_test extends phpbb_test_case } // Autoloading classes within the tests folder does not work - // so I'll include them manually + // so I'll include them manually. if (!class_exists('phpbb_ext_foo_controller')) { include(__DIR__.'/ext/foo/controller.php'); |