Correct test (setting the default of an integer column to 1, should get back 1)
authorChuck Hagenbuch <chuck@horde.org>
Sun, 13 Dec 2009 20:35:18 +0000 (15:35 -0500)
committerChuck Hagenbuch <chuck@horde.org>
Sun, 13 Dec 2009 20:35:18 +0000 (15:35 -0500)
framework/Db/test/Horde/Db/Migration/BaseTest.php

index c73715b..af88d73 100644 (file)
@@ -176,11 +176,9 @@ client:
         }
 
         $this->assertEquals('hello', $columns['one']->getDefault());
-
         $this->assertTrue($columns['two']->getDefault());
         $this->assertFalse($columns['three']->getDefault());
-
-        $this->assertEquals(true,     $columns['four']->getDefault());
+        $this->assertEquals(1, $columns['four']->getDefault());
     }
 
     public function testCreateTableWithLimits()