factory() doesn't guarantee sameness
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 14 Apr 2010 20:06:40 +0000 (14:06 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 14 Apr 2010 20:06:40 +0000 (14:06 -0600)
framework/History/test/Horde/History/InterfaceTest.php

index b3dd551..5f162c0 100644 (file)
@@ -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);
         }
     }