[Phpmyadmin-devel] PHPUnit tests and backupGlobals

Madhura Jayaratne madhura.cj at gmail.com
Tue Jun 11 15:14:12 CEST 2013


On Tue, Jun 11, 2013 at 6:02 PM, Michal Čihař <michal at cihar.com> wrote:

> Hi
>
> Dne Wed, 29 May 2013 23:51:28 +0530
> Madhura Jayaratne <madhura.cj at gmail.com> napsal(a):
>
> > At the test suit level, backupGlobals directive is set to false
> preventing
> > PHPUnit from backing up and restoring globals for every test. I was
> > wondering why this is set like that.
>
> I've just enabled it and fixed most of the tests with that.
>
> Thanks.
I've removed some manual GLOBAL restorings that were used inside tests [1]

[1]
https://github.com/phpmyadmin/phpmyadmin/commit/0f4e573b1e0bcb743334e4818102b428bd023d2e

-- 
Thanks and Regards,

Madhura Jayaratne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20130611/aabf4129/attachment.html>


More information about the Developers mailing list