projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e277d1b
)
Correct test (setting the default of an integer column to 1, should get back 1)
author
Chuck Hagenbuch
<chuck@horde.org>
Sun, 13 Dec 2009 20:35:18 +0000
(15:35 -0500)
committer
Chuck Hagenbuch
<chuck@horde.org>
Sun, 13 Dec 2009 20:35:18 +0000
(15:35 -0500)
framework/Db/test/Horde/Db/Migration/BaseTest.php
patch
|
blob
|
history
diff --git
a/framework/Db/test/Horde/Db/Migration/BaseTest.php
b/framework/Db/test/Horde/Db/Migration/BaseTest.php
index
c73715b
..
af88d73
100644
(file)
--- 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()