瀏覽代碼

removed tests

develop
Robin Thoni 8 年之前
父節點
當前提交
e065d348f9
共有 1 個文件被更改,包括 18 次插入18 次删除
  1. 18
    18
      tests/DatabaseTest.php

+ 18
- 18
tests/DatabaseTest.php 查看文件

@@ -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…
取消
儲存