MDL-65032 mod_forum: Behat test for locking
[moodle.git] / mod / forum / tests / generator / lib.php
index 4550c10..5cae167 100644 (file)
@@ -194,7 +194,7 @@ class mod_forum_generator extends testing_module_generator {
         }
 
         if (!isset($record['locked'])) {
-            $record['locked'] = "0";
+            $record['locked'] = 0;
         }
 
         if (isset($record['mailed'])) {