Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 11
Línea 56... Línea 56...
56
     *
56
     *
57
     * @param string $url           URL used with behat_is_requested_url() function.
57
     * @param string $url           URL used with behat_is_requested_url() function.
58
     * @param bool   $expectedvalue Expected value returned by behat_is_requested_url() function.
58
     * @param bool   $expectedvalue Expected value returned by behat_is_requested_url() function.
59
     * @param array  $environment   Values to override $_SERVER global variable.
59
     * @param array  $environment   Values to override $_SERVER global variable.
60
     */
60
     */
61
    public function test_behat_is_requested_url($url, $expectedvalue, $environment) {
61
    public function test_behat_is_requested_url($url, $expectedvalue, $environment): void {
62
        // Save $_SERVER variable.
62
        // Save $_SERVER variable.
63
        $server = $_SERVER;
63
        $server = $_SERVER;
Línea 64... Línea 64...
64
 
64
 
65
        // Setup $_SERVER variable for test.
65
        // Setup $_SERVER variable for test.