From: Jan Schneider Date: Thu, 3 Dec 2009 18:10:34 +0000 (+0100) Subject: Fix factory mock. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=18ed96439f002433fcd5a64c0096103d1951995f;p=horde.git Fix factory mock. --- diff --git a/framework/Injector/test/Horde/Injector/Binder/FactoryTest.php b/framework/Injector/test/Horde/Injector/Binder/FactoryTest.php index 43188f18a..64f1b7203 100644 --- a/framework/Injector/test/Horde/Injector/Binder/FactoryTest.php +++ b/framework/Injector/test/Horde/Injector/Binder/FactoryTest.php @@ -3,7 +3,7 @@ class Horde_Injector_Binder_FactoryTest extends Horde_Test_Case { public function testShouldCallFactoryMethod() { - $factory = $this->getMock('Factory', array('create')); + $factory = $this->getMockSkipConstructor('Horde_Injector_Binder_Factory', array('create')); $factory->expects($this->once()) ->method('create') ->with()