From 5843a35660f57fbd86cfd4985e261995c023bf60 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 14 Apr 2010 14:06:40 -0600 Subject: [PATCH] factory() doesn't guarantee sameness --- framework/History/test/Horde/History/InterfaceTest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); } } -- 2.11.0