From: Chuck Hagenbuch Date: Sun, 13 Dec 2009 20:35:18 +0000 (-0500) Subject: Correct test (setting the default of an integer column to 1, should get back 1) X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=ec3fc43b1e90e89dba75f35190743ca094368136;p=horde.git Correct test (setting the default of an integer column to 1, should get back 1) --- diff --git a/framework/Db/test/Horde/Db/Migration/BaseTest.php b/framework/Db/test/Horde/Db/Migration/BaseTest.php index c73715b6b..af88d73cf 100644 --- a/framework/Db/test/Horde/Db/Migration/BaseTest.php +++ b/framework/Db/test/Horde/Db/Migration/BaseTest.php @@ -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()