<div dir="ltr">In the setUp() of the test class <span style="color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;line-height:23.799999237060547px"><b>PMA_ConfigTest </b>( </span><span style="color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;line-height:23.799999237060547px">./test/classes/PMA_ConfigTest.php</span><span style="color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;line-height:23.799999237060547px"> )<b> </b></span><span style="color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;line-height:23.799999237060547px">two objects are created one for testing purpose ($object variable of class) and other as a global variable</span><div>

<font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:14px;line-height:23.799999237060547px"><br></span></font></div><div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:14px;line-height:23.799999237060547px">the test object is initialized with no parameter, while the global one is initialized with "<b>config.inc.php</b></span></font><span style="font-size:14px;line-height:23.799999237060547px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif">" as a parameter,</span></div>

<div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:14px;line-height:23.799999237060547px">Although it should be initialized with <b>"config.sample.inc.php" </b>as this file exist in codebase while former does not.</span></font><span style="font-size:14px;line-height:23.799999237060547px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif"> </span></div>

<div><span style="font-size:14px;line-height:23.799999237060547px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif">I have pulled a request for the same at </span><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:14px;line-height:23.799999237060547px"><a href="https://github.com/phpmyadmin/phpmyadmin/pull/994">https://github.com/phpmyadmin/phpmyadmin/pull/994</a><br>

<br>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?  </span></font></div><div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:14px;line-height:23.799999237060547px"><br clear="all">

</span></font><div><div dir="ltr"><div><br></div><font color="#666666">Minhaz</font><div><font color="#666666"><a href="http://cistoner.org" target="_blank">cistoner.org</a></font></div></div></div>
</div></div>