stanley-king преди 3 години
родител
ревизия
8e80785566
променени са 1 файла, в които са добавени 4 реда и са изтрити 1 реда
  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');