diff options
author | Marc Alexander <admin@m-a-styles.de> | 2016-06-12 14:09:00 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-05-06 21:44:19 +0200 |
commit | 1dc14c0f3816c61992415024e8581bca56d1599b (patch) | |
tree | e84a23a21476a7f3d8a5cc2ab0f77d715b5fa53a /tests/upload/fileupload_test.php | |
parent | a4f48205fb05de2563314e860aac80efe21eb9d3 (diff) | |
download | forums-1dc14c0f3816c61992415024e8581bca56d1599b.tar forums-1dc14c0f3816c61992415024e8581bca56d1599b.tar.gz forums-1dc14c0f3816c61992415024e8581bca56d1599b.tar.bz2 forums-1dc14c0f3816c61992415024e8581bca56d1599b.tar.xz forums-1dc14c0f3816c61992415024e8581bca56d1599b.zip |
[ticket/14670] Remove usage of prototype scope in tests
In this specific case, the mock container builder is used which does not
even support setting the scope.
PHPBB3-14670
Diffstat (limited to 'tests/upload/fileupload_test.php')
-rw-r--r-- | tests/upload/fileupload_test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/upload/fileupload_test.php b/tests/upload/fileupload_test.php index 5b3357237d..76b899cca7 100644 --- a/tests/upload/fileupload_test.php +++ b/tests/upload/fileupload_test.php @@ -83,13 +83,13 @@ class phpbb_fileupload_test extends phpbb_test_case $this->php_ini, $plupload, $this->request - ), phpbb_mock_container_builder::SCOPE_PROTOTYPE); + )); $this->container->set('files.types.local', new \phpbb\files\types\local( $this->factory, $this->language, $this->php_ini, $this->request - ), phpbb_mock_container_builder::SCOPE_PROTOTYPE); + )); $this->path = __DIR__ . '/fixture/'; $this->phpbb_root_path = $phpbb_root_path; |