src/Concerns/MakesUrlAssertions.php
public function assertQueryStringMissing($name)
    {
        $parsedUrl = parse_url($this->driver->getCurrentURL());

        if (! array_key_exists('query', $parsedUrl)) {
            PHPUnit::assertTrue(true);

            return $this;
        }

        parse_str($parsedUrl['query'], $output);

        PHPUnit::assertArrayNotHasKey(
            $name, $output,
            "Found unexpected query string parameter [{$name}] in [".$this->driver->getCurrentURL().'].'
        );

        return $this;
    }
public function assertQueryStringMissing($name)
    {
        $parsedUrl = parse_url($this->driver->getCurrentURL());

        if (! array_key_exists('query', $parsedUrl)) {
            PHPUnit::assertTrue(true);

            return $this;
        }

        parse_str($parsedUrl['query'], $output);

        PHPUnit::assertArrayNotHasKey(
            $name, $output,
            "Found unexpected query string parameter [{$name}] in [".$this->driver->getCurrentURL().'].'
        );

        return $this;
    }
public function assertQueryStringMissing ( $ name ) { $ parsedUrl = parse_url ( $ this -> driver -> getCurrentURL ( ) ) ; if ( ! array_key_exists ( 'query' , $ parsedUrl ) ) { PHPUnit :: assertTrue ( true ) ; return $ this ; } parse_str ( $ parsedUrl [ 'query' ] , $ output ) ; PHPUnit :: assertArrayNotHasKey ( $ name , $ output , "Found unexpected query string parameter [{$name}] in [" . $ this -> driver -> getCurrentURL ( ) . '].' ) ; return $ this ; }
Assert that the given query string parameter is missing.

@param  string  $name
@return $this
Assert that the given query string parameter is missing .