Fix factory mock.
authorJan Schneider <jan@horde.org>
Thu, 3 Dec 2009 18:10:34 +0000 (19:10 +0100)
committerJan Schneider <jan@horde.org>
Thu, 3 Dec 2009 20:35:19 +0000 (21:35 +0100)
framework/Injector/test/Horde/Injector/Binder/FactoryTest.php

index 43188f1..64f1b72 100644 (file)
@@ -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()