Skip to content
This repository has been archived by the owner on Mar 28, 2022. It is now read-only.

Commit

Permalink
Fix test bug introduced by recent PHPUnit version
Browse files Browse the repository at this point in the history
  • Loading branch information
DASPRiD committed Nov 6, 2015
1 parent 6bd0da9 commit 4e37f74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/AbstractPluginManagerFactoryTest.php
Expand Up @@ -7,7 +7,7 @@
* @license http://opensource.org/licenses/BSD-2-Clause Simplified BSD License
*/

namespace DashTest\Parser;
namespace DashTest;

use Dash\AbstractPluginManagerFactory;
use Interop\Container\ContainerInterface;
Expand Down Expand Up @@ -50,7 +50,7 @@ public function testFactoryWithConfig()

protected function buildFactory()
{
$pluginManager = $this->prophesize()->willExtend(AbstractPluginManager::class)->reveal();
$pluginManager = $this->getMockForAbstractClass(AbstractPluginManager::class, [], '', false);

$factory = $this->getMockForAbstractClass(AbstractPluginManagerFactory::class);
$factory->expects($this->once())->method('getConfigKey')->will($this->returnValue('manager'));
Expand Down

0 comments on commit 4e37f74

Please sign in to comment.