Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running Phpunit With Fatal Error #12819

Closed
ghost opened this issue Dec 16, 2016 · 3 comments
Closed

Running Phpunit With Fatal Error #12819

ghost opened this issue Dec 16, 2016 · 3 comments
Assignees
Labels
question Used when we need feedback from the submitter or when the issue is a question about PMA

Comments

@ghost
Copy link

ghost commented Dec 16, 2016

Steps to reproduce

  1. deploy phpmyadmin as Unit_Testing told
  2. add phpunit.xml

Expected behaviour

pass

Actual behaviour

No headers testing.
Please install runkit and enable runkit.internal_override!
PHPUnit 4.8.31 by Sebastian Bergmann and contributors.

Runtime:	PHP 5.6.28
Configuration:	/home/liumingyi/git/phpmyadmin/phpunit.xml.dist
Warning:	Deprecated configuration setting "selenium" used
Warning:	The Xdebug extension is not loaded
		No code coverage will be generated.

.............................................................   61 / 2096 (  2%)
.............................................................  122 / 2096 (  5%)
.............................................................  183 / 2096 (  8%)
.............I...................................S...........  244 / 2096 ( 11%)
.......................................................SSSSSS  305 / 2096 ( 14%)
SSSSSSSSSS...................................................  366 / 2096 ( 17%)
........................................E....................  427 / 2096 ( 20%)
.............................................................  488 / 2096 ( 23%)
...........................SS.S.S............................  549 / 2096 ( 26%)
.............................................................  610 / 2096 ( 29%)
.............................................................  671 / 2096 ( 32%)
.............................S...............................  732 / 2096 ( 34%)
................SI....SI.....................................  793 / 2096 ( 37%)
.............................................................  854 / 2096 ( 40%)
.............................................................  915 / 2096 ( 43%)
...........F..........................................FF.....  976 / 2096 ( 46%)
............................................................. 1037 / 2096 ( 49%)
............................................................. 1098 / 2096 ( 52%)
............................................................. 1159 / 2096 ( 55%)
............................................................. 1220 / 2096 ( 58%)
............................................................. 1281 / 2096 ( 61%)
............................................................. 1342 / 2096 ( 64%)
.............FF...........SS................................. 1403 / 2096 ( 66%)
..................................FF.............F........... 1464 / 2096 ( 69%)
............................................................. 1525 / 2096 ( 72%)
............................................................. 1586 / 2096 ( 75%)
.......................I..FFFFFFFFFFFFFFFFFFFF
Fatal error: Call to a member function setAjax() on null in /home/zore/git/phpmyadmin/libraries/Response.php on line 121

Server configuration

Operating system:
CentOS release 6.3 (Final)

Web server:
nginx/1.11.3

Database:
mysql Ver 14.14 Distrib 5.1.73,

PHP version:
PHP 5.6.28 (cli)

phpMyAdmin version:
QA_4_6

@nijel
Copy link
Contributor

nijel commented Dec 17, 2016

Why not use phpunit.xml.* shipped with phpMyAdmin? The wiki is a bit outdated as the bootstrap file is there and is required for the tests.

But anyway, the tests usually do not fail, see https://travis-ci.org/phpmyadmin/phpmyadmin/branches

@nijel nijel self-assigned this Dec 17, 2016
@nijel nijel added the question Used when we need feedback from the submitter or when the issue is a question about PMA label Dec 17, 2016
@ghost
Copy link
Author

ghost commented Dec 20, 2016

Thanks u for your reply
Get it

@ghost ghost closed this as completed Dec 20, 2016
@nijel
Copy link
Contributor

nijel commented Dec 20, 2016

I've updated the wiki, hopefully it's now easier to understand.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 2, 2021
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Used when we need feedback from the submitter or when the issue is a question about PMA
Projects
None yet
Development

No branches or pull requests

1 participant