aboutsummaryrefslogtreecommitdiffstats
path: root/tests/installer/navigation_provider_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/installer/navigation_provider_test.php')
-rw-r--r--tests/installer/navigation_provider_test.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/installer/navigation_provider_test.php b/tests/installer/navigation_provider_test.php
index 5bfce0eba8..ea39af66cd 100644
--- a/tests/installer/navigation_provider_test.php
+++ b/tests/installer/navigation_provider_test.php
@@ -16,14 +16,14 @@ class phpbb_installer_navigation_provider_test extends phpbb_test_case
public function test_navigation()
{
// Mock nav interface
- $nav_mock = $this->getMockBuilder('\phpbb\install\helper\navigation\navigation_interface')
- ->method('get')
- ->willReturn(array('foo' => 'bar'))
+ $nav_stub = $this->getMockBuilder('\phpbb\install\helper\navigation\navigation_interface')
->getMock();
+ $nav_stub->method('get')
+ ->willReturn(array('foo' => 'bar'));
// Set up dependencies
$container = new phpbb_mock_container_builder();
- $container->set('foo', $nav_mock);
+ $container->set('foo', $nav_stub);
$nav_collection = new \phpbb\di\service_collection($container);
$nav_collection->add('foo');