Skip to content

Commit

Permalink
Fixed testDbPostgresql unit test to support schema.
Browse files Browse the repository at this point in the history
Signed-off-by: Rack Lin <racklin@gmail.com>
  • Loading branch information
racklin committed Sep 3, 2012
1 parent 0246832 commit 5c9e628
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions unit-tests/DbDescribeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ public function testDbPostgresql()
$tables = $connection->listTables();
$this->assertEquals($tables, $expectedTables);

$tables = $connection->listTables('phalcon_test');
$tables = $connection->listTables('public');
$this->assertEquals($tables, $expectedTables);

//Table exist
Expand Down Expand Up @@ -479,7 +479,7 @@ public function testDbPostgresql()
$describeIndexes = $connection->describeIndexes('robots_parts');
$this->assertEquals($describeIndexes, $expectedIndexes);

$describeIndexes = $connection->describeIndexes('robots_parts', 'phalcon_test');
$describeIndexes = $connection->describeIndexes('robots_parts', 'public');
$this->assertEquals($describeIndexes, $expectedIndexes);

//References
Expand All @@ -503,7 +503,7 @@ public function testDbPostgresql()
$describeReferences = $connection->describeReferences('robots_parts');
$this->assertEquals($describeReferences, $expectedReferences);

$describeReferences = $connection->describeReferences('robots_parts', 'phalcon_test');
$describeReferences = $connection->describeReferences('robots_parts', 'public');
$this->assertEquals($describeReferences, $expectedReferences);

/**/
Expand Down

0 comments on commit 5c9e628

Please sign in to comment.