[Phpmyadmin-devel] Automated Testing - GSoC 2012

Michal Čihař michal at cihar.com
Mon Jun 25 12:18:44 CEST 2012


Hi

Dne Sat, 23 Jun 2012 10:24:29 +0530
yasitha pandithawatta <yasitha4 at gmail.com> napsal(a):

> I got a same kind of error when running following test classes.
> 
> Error - Use of undefined constant GETTEXT_INC - assumed 'GETTEXT_INC' in
> /var/www/phpmyadmin-dev/libraries/select_lang.lib.php on line 387
> 
> 
>    - PMA_fatalError_test.php
>    - PMA_getTableCount_test.php
>    - PMA_headerLocation_test.php
> 
> This is because of it refers a constant GETTEXT_INC which actually string
> path defined in vendor_config.php
> I include vendor_config.php as well as referred file. But still getting
> that error. Any suggestions?

I've fixed the first test, it needed more adjustments. You can look at
the changes I've made and possibly fix others.

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20120625/65520611/attachment.sig>


More information about the Developers mailing list