Commit 8e071b75 authored by zYne's avatar zYne

--no commit message

--no commit message
parent 1238a500
...@@ -95,7 +95,7 @@ class Doctrine_Expression_TestCase extends Doctrine_UnitTestCase { ...@@ -95,7 +95,7 @@ class Doctrine_Expression_TestCase extends Doctrine_UnitTestCase {
$this->assertEqual($this->expr->locate('id', 3), 'LOCATE(id, 3)'); $this->assertEqual($this->expr->locate('id', 3), 'LOCATE(id, 3)');
} }
public function testConcatReturnsValidSql() { public function testConcatReturnsValidSql() {
$this->assertEqual($this->expr->concat(array('id', 'type')), 'CONCAT(id, type)'); $this->assertEqual($this->expr->concat('id', 'type'), 'CONCAT(id, type)');
} }
public function testSubstringReturnsValidSql() { public function testSubstringReturnsValidSql() {
$this->assertEqual($this->expr->substring('id', 3), 'SUBSTRING(id FROM 3)'); $this->assertEqual($this->expr->substring('id', 3), 'SUBSTRING(id FROM 3)');
......
...@@ -44,8 +44,7 @@ class Doctrine_Import_Oracle_TestCase extends Doctrine_UnitTestCase ...@@ -44,8 +44,7 @@ class Doctrine_Import_Oracle_TestCase extends Doctrine_UnitTestCase
{ {
$this->import->listTableColumns('table'); $this->import->listTableColumns('table');
$q = "SELECT column_name, data_type, data_length, nullable, data_default from all_tab_columns" $q = "SELECT column_name, data_type, data_length, nullable, data_default, data_scale, data_precision FROM all_tab_columns WHERE table_name = 'TABLE' ORDER BY column_name";
. " WHERE table_name = 'TABLE' ORDER BY column_name";
$this->assertEqual($this->adapter->pop(), $q); $this->assertEqual($this->adapter->pop(), $q);
} }
......
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