Fixed wrong parameter passed to built-in PHP server
authorFrederic Massart <fred@moodle.com>
Fri, 22 Feb 2013 05:26:26 +0000 (13:26 +0800)
committerFrederic Massart <fred@moodle.com>
Fri, 22 Feb 2013 05:26:26 +0000 (13:26 +0800)
moodle-behat.py

index f113045..a71a9ff 100755 (executable)
@@ -104,7 +104,7 @@ try:
     cmd.append('--config=%s/behat/behat.yml' % (M.get('behat_dataroot')))
     cmd = ' '.join(cmd)
 
-    phpCommand = '%s -S http://localhost:8000' % (C.get('php'))
+    phpCommand = '%s -S localhost:8000' % (C.get('php'))
     seleniumCommand = None
     if seleniumPath:
         seleniumCommand = '%s -jar %s' % (C.get('java'), seleniumPath)