Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Found bugs in Zend\Db\Sql\Ddl classes and tests #7015

Merged
merged 2 commits into from Dec 16, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion library/Zend/Db/Sql/Ddl/Index/Index.php
Expand Up @@ -54,7 +54,7 @@ public function getExpressionData()
{
$colCount = count($this->columns);
$values = array();
$values[] = $this->namee ?: '';
$values[] = $this->name ?: '';
$newSpecTypes = array(self::TYPE_IDENTIFIER);
$newSpecParts = array();

Expand Down
2 changes: 1 addition & 1 deletion tests/ZendTest/Db/Sql/Ddl/Column/BooleanTest.php
Expand Up @@ -20,7 +20,7 @@ public function testGetExpressionData()
{
$column = new Boolean('foo');
$this->assertEquals(
array(array('%s %s NOT NULL', array('foo', 'TINYINT'), array($column::TYPE_IDENTIFIER, $column::TYPE_LITERAL))),
array(array('%s %s NOT NULL', array('foo', 'BOOLEAN'), array($column::TYPE_IDENTIFIER, $column::TYPE_LITERAL))),
$column->getExpressionData()
);
}
Expand Down