@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | |
| 26 | 26 | // NOTE: no MOODLE_INTERNAL test here, this file may be required by behat before including /config.php. |
| 27 | 27 | |
| 28 | -require_once(__DIR__ . '/../../../../../../behat/behat_base.php'); |
|
| 28 | +require_once(__DIR__.'/../../../../../../behat/behat_base.php'); |
|
| 29 | 29 | |
| 30 | 30 | |
| 31 | 31 | /** |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | |
| 48 | 48 | // We spin to give time to the iframe to be loaded. |
| 49 | 49 | $this->spin( |
| 50 | - function () { |
|
| 50 | + function() { |
|
| 51 | 51 | $this->switch_to_popup_iframe(); |
| 52 | 52 | // If no exception we are done. |
| 53 | 53 | return true; |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | try { |
| 76 | 76 | $this->getSession()->executeScript($function); |
| 77 | 77 | } catch (Exception $e) { |
| 78 | - throw new \Exception("iFrame was NOT found." . PHP_EOL . $e->getMessage()); |
|
| 78 | + throw new \Exception("iFrame was NOT found.".PHP_EOL.$e->getMessage()); |
|
| 79 | 79 | } |
| 80 | 80 | |
| 81 | 81 | // After injecting the name attribute to the iFrame |