MDL-43439 behat: Dir date without - separators

This commit is contained in:
David Monllao
2014-01-15 09:18:55 +08:00
parent 05297cc0a8
commit e5ee31453a
+1 -1
View File
@@ -321,7 +321,7 @@ class behat_hooks extends behat_base {
// All the run screenshots in the same parent dir.
if (!$screenshotsdirname = self::get_run_screenshots_dir()) {
$screenshotsdirname = self::$screenshotsdirname = date('Y-m-d_Hi');
$screenshotsdirname = self::$screenshotsdirname = date('Ymd_Hi');
$dir = $CFG->behat_screenshots_path . DIRECTORY_SEPARATOR . $screenshotsdirname;