[Phpmyadmin-devel] writing unit tests to libraries/sql.lib.php

Supun Nakandala supun.nakandala at gmail.com
Tue Jul 23 20:23:10 CEST 2013


Hi,
I am trying to write unit tests sql.lib.php. In that I want to create an
instance of the database interface (GLOBALS['dbi']) to test methods by
executing queries. I tried to do it by including
"libraries/database_interface.inc.php" but I get an error telling
"Undefined index: Server". Am I doing something wrong here or is there any
other better approach to do this.
Regards Supun.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20130723/b3177ee0/attachment.html>


More information about the Developers mailing list