Browse Source

removed tests

develop
Robin Thoni 8 years ago
parent
commit
e065d348f9
1 changed files with 18 additions and 18 deletions
  1. 18
    18
      tests/DatabaseTest.php

+ 18
- 18
tests/DatabaseTest.php View File

@@ -192,24 +192,24 @@ class DatabaseTest extends \PHPUnit_Framework_TestCase
192 192
 {
193 193
     public function testSetup()
194 194
     {
195
-        $config = ['databases' => [
196
-            [
197
-                'name'      => 'mydb',
198
-                'driver'    => 'pgsql',
199
-                'host'      => '172.17.0.1',
200
-                'database'  => 'luticate2',
201
-                'username'  => 'dev',
202
-                'password'  => 'dev'
203
-            ]
204
-        ]];
205
-        $app = new LuticateApplication($config);
206
-        $app->setupDatabases();
207
-
208
-        var_dump(SpTest::execute(42));
209
-        var_dump(SpTest::execute(4));
210
-        var_dump(SpTest2::execute(42));
211
-        var_dump(SpTest2::executePaginated(42, 0, 2));
212
-        var_dump(SpTest2::executePaginated(42, 1, 2));
195
+//        $config = ['databases' => [
196
+//            [
197
+//                'name'      => 'mydb',
198
+//                'driver'    => 'pgsql',
199
+//                'host'      => '172.17.0.1',
200
+//                'database'  => 'luticate2',
201
+//                'username'  => 'dev',
202
+//                'password'  => 'dev'
203
+//            ]
204
+//        ]];
205
+//        $app = new LuticateApplication($config);
206
+//        $app->setupDatabases();
207
+
208
+//        var_dump(SpTest::execute(42));
209
+//        var_dump(SpTest::execute(4));
210
+//        var_dump(SpTest2::execute(42));
211
+//        var_dump(SpTest2::executePaginated(42, 0, 2)->jsonSerialize());
212
+//        var_dump(SpTest2::executePaginated(42, 1, 2)->jsonSerialize());
213 213
 //
214 214
 //        $dbo = new TestTableDbo();
215 215
 //        $dbo->setId(11);

Loading…
Cancel
Save