From: Michael M Slusarz Date: Wed, 14 Apr 2010 20:06:40 +0000 (-0600) Subject: factory() doesn't guarantee sameness X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=5843a35660f57fbd86cfd4985e261995c023bf60;p=horde.git factory() doesn't guarantee sameness --- diff --git a/framework/History/test/Horde/History/InterfaceTest.php b/framework/History/test/Horde/History/InterfaceTest.php index b3dd551dd..5f162c0db 100644 --- a/framework/History/test/Horde/History/InterfaceTest.php +++ b/framework/History/test/Horde/History/InterfaceTest.php @@ -177,7 +177,7 @@ EOL; return $this->_histories[$environment]; } - public function testMethodFactoryHasResultHordehistoryWhichIsAlwaysTheSame() + public function testMethodFactoryHasResultHordehistory() { foreach ($this->getEnvironments() as $environment) { $history = $this->getHistory($environment); @@ -185,7 +185,6 @@ EOL; $this->assertType('Horde_History', $history1); $history2 = Horde_History::factory($environment); $this->assertType('Horde_History', $history2); - $this->assertSame($history1, $history2); } }