stanley-king 3 năm trước cách đây
mục cha
commit
8e80785566
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      test/TestOrderErr.php

+ 4 - 1
test/TestOrderErr.php

@@ -71,7 +71,10 @@ class TestOrderErr extends TestCase
         $mod_log = Model();
         $inserter = function ($logs) use ($mod_log)
         {
-            $mod_log->table('acclog')->insertAll($logs);
+//            $mod_log->table('acclog')->insertAll($logs);
+            foreach ($logs as $log) {
+                $mod_log->table('acclog')->insert($log);
+            }
         };
 
         $file = fopen($filename,'r');