|
@@ -135,18 +135,18 @@ class DatabaseTest extends \PHPUnit_Framework_TestCase
|
135
|
135
|
{
|
136
|
136
|
public function testSetup()
|
137
|
137
|
{
|
138
|
|
- $config = ['databases' => [
|
139
|
|
- [
|
140
|
|
- 'name' => 'mydb',
|
141
|
|
- 'driver' => 'pgsql',
|
142
|
|
- 'host' => '172.17.0.1',
|
143
|
|
- 'database' => 'intra_betaclean',
|
144
|
|
- 'username' => 'dev',
|
145
|
|
- 'password' => 'dev'
|
146
|
|
- ]
|
147
|
|
- ]];
|
148
|
|
- $app = new LuticateApplication($config);
|
149
|
|
- $app->setupDatabases();
|
|
138
|
+// $config = ['databases' => [
|
|
139
|
+// [
|
|
140
|
+// 'name' => 'mydb',
|
|
141
|
+// 'driver' => 'pgsql',
|
|
142
|
+// 'host' => '172.17.0.1',
|
|
143
|
+// 'database' => 'intra_betaclean',
|
|
144
|
+// 'username' => 'dev',
|
|
145
|
+// 'password' => 'dev'
|
|
146
|
+// ]
|
|
147
|
+// ]];
|
|
148
|
+// $app = new LuticateApplication($config);
|
|
149
|
+// $app->setupDatabases();
|
150
|
150
|
|
151
|
151
|
// $dbo = new TestTableDbo();
|
152
|
152
|
// $dbo->setId(11);
|
|
@@ -167,9 +167,9 @@ class DatabaseTest extends \PHPUnit_Framework_TestCase
|
167
|
167
|
// }, ['Id']));
|
168
|
168
|
|
169
|
169
|
|
170
|
|
- $pdo = TestTableDataAccess::getPdo();
|
171
|
|
- $pgsql = new PgSqlDataAccess();
|
|
170
|
+// $pdo = TestTableDataAccess::getPdo();
|
|
171
|
+// $pgsql = new PgSqlDataAccess();
|
172
|
172
|
// $pgsql->getStoredProceduresFull($pdo);
|
173
|
|
- var_dump($pgsql->getStoredProceduresFull($pdo));
|
|
173
|
+// var_dump($pgsql->getStoredProceduresFull($pdo));
|
174
|
174
|
}
|
175
|
175
|
}
|