Hi
Dne Wed, 5 Mar 2014 17:49:54 +0530
Minhaz A V <minhazav@gmail.com> napsal(a):
> In the setUp() of the test class *PMA_ConfigTest *(
> ./test/classes/PMA_ConfigTest.php ) two objects are created one for testing> is initialized with "*config.inc.php*" as a parameter,
> purpose ($object variable of class) and other as a global variable
>
> the test object is initialized with no parameter, while the global one
> Although it should be initialized with *"config.sample.inc.php" *as this
> file exist in codebase while former does not.Why do you think it should be initialized with existing file? It should
be IMHO working configuration, not the sample one.
I think that doing assertions on global version is simply wrong.
> But there is a problem I'm facing here, for the global version the
> assertion for permissions is failing, while it should not .... I can't
> understand this. Can anyone help?
--
Michal Čihař | http://cihar.com | http://phpmyadmin.net
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Phpmyadmin-devel mailing list
Phpmyadmin-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel