fix DB schema test - no default value
This commit is contained in:
parent
dcca887f18
commit
9c1c8d57f0
1 changed files with 2 additions and 2 deletions
|
@ -57,13 +57,13 @@ class MDB2SchemaReader extends \PHPUnit_Framework_TestCase {
|
|||
|
||||
$this->assertNull($table->getColumn('clobfield')->getLength());
|
||||
$this->assertFalse($table->getColumn('clobfield')->getAutoincrement());
|
||||
$this->assertSame('', $table->getColumn('clobfield')->getDefault());
|
||||
$this->assertNull($table->getColumn('clobfield')->getDefault());
|
||||
$this->assertTrue($table->getColumn('clobfield')->getNotnull());
|
||||
$this->assertInstanceOf('Doctrine\DBAL\Types\TextType', $table->getColumn('clobfield')->getType());
|
||||
|
||||
$this->assertNull($table->getColumn('booleanfield')->getLength());
|
||||
$this->assertFalse($table->getColumn('booleanfield')->getAutoincrement());
|
||||
$this->assertFalse($table->getColumn('booleanfield')->getDefault());
|
||||
$this->assertNull($table->getColumn('booleanfield')->getDefault());
|
||||
$this->assertInstanceOf('Doctrine\DBAL\Types\BooleanType', $table->getColumn('booleanfield')->getType());
|
||||
|
||||
$this->assertTrue($table->getColumn('booleanfield_true')->getDefault());
|
||||
|
|
Loading…
Reference in a new issue