Commit 929dc458 authored by František Bereň's avatar František Bereň Committed by Benjamin Eberlei

fixed test changedproperties

parent 03025de5
......@@ -332,25 +332,25 @@ class PostgreSqlPlatformTest extends AbstractPlatformTestCase
'dloo1', new \Doctrine\DBAL\Schema\Column(
'dloo1', \Doctrine\DBAL\Types\Type::getType('decimal'), array('precision' => 16, 'scale' => 6)
),
array('type', 'notnull', 'default')
array('type')
);
$tableDiff->changedColumns['dloo2'] = new \Doctrine\DBAL\Schema\ColumnDiff(
'dloo2', new \Doctrine\DBAL\Schema\Column(
'dloo2', \Doctrine\DBAL\Types\Type::getType('decimal'), array('precision' => 10, 'scale' => 4)
),
array('type', 'notnull', 'default')
array('type')
);
$tableDiff->changedColumns['dloo3'] = new \Doctrine\DBAL\Schema\ColumnDiff(
'dloo3', new \Doctrine\DBAL\Schema\Column(
'dloo3', \Doctrine\DBAL\Types\Type::getType('decimal'), array('precision' => 10, 'scale' => 6)
),
array('type', 'notnull', 'default')
array('type')
);
$tableDiff->changedColumns['dloo4'] = new \Doctrine\DBAL\Schema\ColumnDiff(
'dloo4', new \Doctrine\DBAL\Schema\Column(
'dloo4', \Doctrine\DBAL\Types\Type::getType('decimal'), array('precision' => 16, 'scale' => 8)
),
array('type', 'notnull', 'default')
array('type')
);
$sql = $this->_platform->getAlterTableSQL($tableDiff);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment