Skip to content

Commit

Permalink
pgsql + scrutinizer
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlaltca committed Mar 30, 2018
1 parent b51343e commit 94cfb99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/unit/Data/DbCommon/CommandBuilderPgsqlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ protected function setUp()

function pgsql_meta_data()
{
$conn = new TDbConnection('pgsql:host=localhost;dbname=prado_unitest', 'prado_unitest','prado_unitest');
$cred = getenv('SCRUTINIZER') ? 'scrutinizer' : 'prado_unitest';
$conn = new TDbConnection('pgsql:host=localhost;dbname=prado_unitest', $cred, $cred);
return new TPgsqlMetaData($conn);
}

Expand Down
3 changes: 2 additions & 1 deletion tests/unit/Data/DbCommon/PgsqlColumnTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ protected function setUp()

function create_meta_data()
{
$conn = new TDbConnection('pgsql:host=localhost;dbname=prado_unitest', 'prado_unitest','prado_unitest');
$cred = getenv('SCRUTINIZER') ? 'scrutinizer' : 'prado_unitest';
$conn = new TDbConnection('pgsql:host=localhost;dbname=prado_unitest', $cred, $cred);
return new TPgsqlMetaData($conn);
}

Expand Down

0 comments on commit 94cfb99

Please sign in to comment.