aboutsummaryrefslogtreecommitdiffstats
path: root/tests/session/testable_factory.php
diff options
context:
space:
mode:
authorAndy Chase <asperous2@gmail.com>2013-07-08 16:38:53 -0700
committerAndy Chase <asperous2@gmail.com>2013-07-08 16:38:53 -0700
commitf51721e905af68624df422889f92a069abd7b750 (patch)
tree4647573583a29c6a5d6b86f7e4e93618b786595e /tests/session/testable_factory.php
parentcd1fe789d243e12330a049799818ed7b062ea347 (diff)
downloadforums-f51721e905af68624df422889f92a069abd7b750.tar
forums-f51721e905af68624df422889f92a069abd7b750.tar.gz
forums-f51721e905af68624df422889f92a069abd7b750.tar.bz2
forums-f51721e905af68624df422889f92a069abd7b750.tar.xz
forums-f51721e905af68624df422889f92a069abd7b750.zip
[ticket/11620] Rename provider -> mock_auth_provider
Rename the class and file name to better match what the class is mocking, as well as implement the interface of that class. PHPBB3-11620
Diffstat (limited to 'tests/session/testable_factory.php')
-rw-r--r--tests/session/testable_factory.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/session/testable_factory.php b/tests/session/testable_factory.php
index d0d0dabbec..ace968eb43 100644
--- a/tests/session/testable_factory.php
+++ b/tests/session/testable_factory.php
@@ -8,7 +8,7 @@
*/
require_once dirname(__FILE__) . '/../mock/container_builder.php';
-require_once dirname(__FILE__) . '/../mock/provider.php';
+require_once dirname(__FILE__) . '/../mock/auth_provider.php';
/**
* This class exists to setup an instance of phpbb's session class for testing.
@@ -90,7 +90,7 @@ class phpbb_session_testable_factory
$phpbb_container = $this->container = new phpbb_mock_container_builder();
$phpbb_container->set(
'auth.provider.db',
- new phpbb_provider()
+ new phpbb_mock_auth_provider()
);
$session = new phpbb_mock_session_testable;