mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-07 20:12:42 +00:00
Making postgres tests pass
This commit is contained in:
parent
d24c408537
commit
f0ef0aab62
4 changed files with 3 additions and 6 deletions
|
@ -437,7 +437,6 @@ class DboPostgresTest extends CakeTestCase {
|
|||
public function testSchemaScoping() {
|
||||
$db1 = ConnectionManager::getDataSource('test');
|
||||
$db1->cacheSources = false;
|
||||
$db1->reconnect(array('persistent' => false));
|
||||
$db1->query('CREATE SCHEMA _scope_test');
|
||||
|
||||
$db2 = ConnectionManager::create(
|
||||
|
@ -541,7 +540,6 @@ class DboPostgresTest extends CakeTestCase {
|
|||
public function testCakeSchema() {
|
||||
$db1 = ConnectionManager::getDataSource('test');
|
||||
$db1->cacheSources = false;
|
||||
$db1->reconnect(array('persistent' => false));
|
||||
|
||||
$db1->rawQuery('CREATE TABLE ' . $db1->fullTableName('datatype_tests') . ' (
|
||||
id serial NOT NULL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue