phpunit error #12910

Closed
ibennetch opened this Issue Jan 20, 2017 · 1 comment

Projects

None yet

2 participants

@ibennetch
Contributor

phpunit --exclude-group selenium -c phpunit.xml.nocoverage gives an error. I'm on master, currently at commit 3d056bc .

There was 1 error:

1) SanitizeTest::testRemoveRequestVars
Undefined variable: _POST

/var/www/pma-dev/fork/libraries/Sanitize.php:427
/var/www/pma-dev/fork/test/classes/SanitizeTest.php:283
/usr/share/php/PHPUnit/TextUI/Command.php:186
/usr/share/php/PHPUnit/TextUI/Command.php:138

(There are also eight failures)

@nijel nijel self-assigned this Jan 20, 2017
@nijel nijel added the bug label Jan 20, 2017
@nijel nijel added this to the 4.7.0 milestone Jan 20, 2017
@nijel nijel added a commit that closed this issue Jan 20, 2017
@nijel nijel Ensure expected global variables are set
This probably happens only in tests in some specific setup.

Fixes #12910

Signed-off-by: Michal Čihař <michal@cihar.com>
bc1048a
@nijel nijel closed this in bc1048a Jan 20, 2017
@ibennetch
Contributor

Great, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment