Created
July 1, 2013 14:49
-
-
Save ayushchd/5901501 to your computer and use it in GitHub Desktop.
PHP Unit Errors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Not supported query: SHOW GRANTS | |
PHP Notice: Undefined index: test_header in /Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/core/PMA_headerLocation_test.php on line 66 | |
Notice: Undefined index: test_header in /Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/core/PMA_headerLocation_test.php on line 66 | |
PHPUnit 3.7.13 by Sebastian Bergmann. | |
Configuration read from /Users/ayushchd/Sites/htdocs/phpmyadmin/phpunit.xml | |
............................................................I 61 / 1524 ( 4%) | |
............................................................. 122 / 1524 ( 8%) | |
............................................................. 183 / 1524 ( 12%) | |
............................................................. 244 / 1524 ( 16%) | |
............................................................. 305 / 1524 ( 20%) | |
............................................................. 366 / 1524 ( 24%) | |
............................................................. 427 / 1524 ( 28%) | |
............................................................. 488 / 1524 ( 32%) | |
.....................................F...F.F...F............. 549 / 1524 ( 36%) | |
............................................................. 610 / 1524 ( 40%) | |
.............F...F.F......................................... 671 / 1524 ( 44%) | |
............................................................. 732 / 1524 ( 48%) | |
............................................................. 793 / 1524 ( 52%) | |
............................................................. 854 / 1524 ( 56%) | |
............................................................. 915 / 1524 ( 60%) | |
............................................................. 976 / 1524 ( 64%) | |
............................................................. 1037 / 1524 ( 68%) | |
.......EEEEEEEEEEEEEEEEEE.EEE................................ 1098 / 1524 ( 72%) | |
..........F.................................................. 1159 / 1524 ( 76%) | |
..................F.F.................................F..F... 1220 / 1524 ( 80%) | |
.........................................F................... 1281 / 1524 ( 84%) | |
......................................................F...... 1342 / 1524 ( 88%) | |
...........................................F................. 1403 / 1524 ( 92%) | |
FF.FFF....................................................... 1464 / 1524 ( 96%) | |
.............................................S.............I | |
Time: 9 seconds, Memory: 79.00Mb | |
There were 21 errors: | |
1) PMA_TRI_GetEditorForm_Test::testgetEditorForm_add with data set #0 (array('', 'table1', '', '', '', '', ''), array('input', array('add_item'))) | |
Invalid argument supplied for foreach() | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/libraries/rte/rte_triggers.lib.php:358 | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/rte/PMA_TRI_getEditorForm_test.php:33 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
2) PMA_TRI_GetEditorForm_Test::testgetEditorForm_add with data set #1 (array('', 'table1', '', '', '', '', ''), array('input', array('item_name'))) | |
Invalid argument supplied for foreach() | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/libraries/rte/rte_triggers.lib.php:358 | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/rte/PMA_TRI_getEditorForm_test.php:33 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
3) PMA_TRI_GetEditorForm_Test::testgetEditorForm_add with data set #2 (array('', 'table1', '', '', '', '', ''), array('select', array('item_table'))) | |
Invalid argument supplied for foreach() | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/libraries/rte/rte_triggers.lib.php:358 | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/rte/PMA_TRI_getEditorForm_test.php:33 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
4) PMA_TRI_GetEditorForm_Test::testgetEditorForm_add with data set #3 (array('', 'table1', '', '', '', '', ''), array('select', array('item_timing'))) | |
Invalid argument supplied for foreach() | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/libraries/rte/rte_triggers.lib.php:358 | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/rte/PMA_TRI_getEditorForm_test.php:33 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
5) PMA_TRI_GetEditorForm_Test::testgetEditorForm_add with data set #4 (array('', 'table1', '', '', '', '', ''), array('select', array('item_event'))) | |
Invalid argument supplied for foreach() | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/libraries/rte/rte_triggers.lib.php:358 | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/rte/PMA_TRI_getEditorForm_test.php:33 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
6) PMA_TRI_GetEditorForm_Test::testgetEditorForm_add with data set #5 (array('', 'table1', '', '', '', '', ''), array('textarea', array('item_definition'))) | |
Invalid argument supplied for foreach() | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/libraries/rte/rte_triggers.lib.php:358 | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/rte/PMA_TRI_getEditorForm_test.php:33 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
7) PMA_TRI_GetEditorForm_Test::testgetEditorForm_add with data set #6 (array('', 'table1', '', '', '', '', ''), array('input', array('item_definer'))) | |
Invalid argument supplied for foreach() | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/libraries/rte/rte_triggers.lib.php:358 | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/rte/PMA_TRI_getEditorForm_test.php:33 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
8) PMA_TRI_GetEditorForm_Test::testgetEditorForm_add with data set #7 (array('', 'table1', '', '', '', '', ''), array('input', array('editor_process_add'))) | |
Invalid argument supplied for foreach() | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/libraries/rte/rte_triggers.lib.php:358 | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/rte/PMA_TRI_getEditorForm_test.php:33 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
9) PMA_TRI_GetEditorForm_Test::testgetEditorForm_edit with data set #0 (array('foo', 'table1', 'bar', 'BEFORE', 'INSERT', 'SET @A=1;', ''), array('input', array('edit_item'))) | |
Invalid argument supplied for foreach() | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/libraries/rte/rte_triggers.lib.php:358 | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/rte/PMA_TRI_getEditorForm_test.php:132 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
10) PMA_TRI_GetEditorForm_Test::testgetEditorForm_edit with data set #1 (array('foo', 'table1', 'bar', 'BEFORE', 'INSERT', 'SET @A=1;', ''), array('input', array('item_name'))) | |
Invalid argument supplied for foreach() | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/libraries/rte/rte_triggers.lib.php:358 | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/rte/PMA_TRI_getEditorForm_test.php:132 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
11) PMA_TRI_GetEditorForm_Test::testgetEditorForm_edit with data set #2 (array('foo', 'table1', 'bar', 'BEFORE', 'INSERT', 'SET @A=1;', ''), array('select', array('item_table'))) | |
Invalid argument supplied for foreach() | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/libraries/rte/rte_triggers.lib.php:358 | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/rte/PMA_TRI_getEditorForm_test.php:132 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
12) PMA_TRI_GetEditorForm_Test::testgetEditorForm_edit with data set #3 (array('foo', 'table1', 'bar', 'BEFORE', 'INSERT', 'SET @A=1;', ''), array('select', array('item_timing'))) | |
Invalid argument supplied for foreach() | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/libraries/rte/rte_triggers.lib.php:358 | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/rte/PMA_TRI_getEditorForm_test.php:132 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
13) PMA_TRI_GetEditorForm_Test::testgetEditorForm_edit with data set #4 (array('foo', 'table1', 'bar', 'BEFORE', 'INSERT', 'SET @A=1;', ''), array('select', array('item_event'))) | |
Invalid argument supplied for foreach() | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/libraries/rte/rte_triggers.lib.php:358 | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/rte/PMA_TRI_getEditorForm_test.php:132 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
14) PMA_TRI_GetEditorForm_Test::testgetEditorForm_edit with data set #5 (array('foo', 'table1', 'bar', 'BEFORE', 'INSERT', 'SET @A=1;', ''), array('textarea', array('item_definition'))) | |
Invalid argument supplied for foreach() | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/libraries/rte/rte_triggers.lib.php:358 | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/rte/PMA_TRI_getEditorForm_test.php:132 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
15) PMA_TRI_GetEditorForm_Test::testgetEditorForm_edit with data set #6 (array('foo', 'table1', 'bar', 'BEFORE', 'INSERT', 'SET @A=1;', ''), array('input', array('item_definer'))) | |
Invalid argument supplied for foreach() | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/libraries/rte/rte_triggers.lib.php:358 | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/rte/PMA_TRI_getEditorForm_test.php:132 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
16) PMA_TRI_GetEditorForm_Test::testgetEditorForm_edit with data set #7 (array('foo', 'table1', 'bar', 'BEFORE', 'INSERT', 'SET @A=1;', ''), array('input', array('editor_process_edit'))) | |
Invalid argument supplied for foreach() | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/libraries/rte/rte_triggers.lib.php:358 | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/rte/PMA_TRI_getEditorForm_test.php:132 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
17) PMA_TRI_GetEditorForm_Test::testgetEditorForm_ajax with data set #0 (array('foo', 'table1', 'bar', 'BEFORE', 'INSERT', 'SET @A=1;', ''), array('input', array('editor_process_edit'))) | |
Invalid argument supplied for foreach() | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/libraries/rte/rte_triggers.lib.php:358 | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/rte/PMA_TRI_getEditorForm_test.php:230 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
18) PMA_TRI_GetEditorForm_Test::testgetEditorForm_ajax with data set #1 (array('foo', 'table1', 'bar', 'BEFORE', 'INSERT', 'SET @A=1;', ''), array('input', array('ajax_request'))) | |
Invalid argument supplied for foreach() | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/libraries/rte/rte_triggers.lib.php:358 | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/rte/PMA_TRI_getEditorForm_test.php:230 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
19) PMA_TRI_GetQueryFromRequest_Test::testgetQueryFromRequest with data set #1 ('root', 'trigger', 'BEFORE', 'INSERT', 'table`2', 'SET @A=NULL', 'CREATE TRIGGER `trigger` BEFORE INSERT ON FOR EACH ROW SET @A=NULL', 2) | |
in_array() expects parameter 2 to be array, null given | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/libraries/rte/rte_triggers.lib.php:470 | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/rte/PMA_TRI_getQueryFromRequest_test.php:51 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
20) PMA_TRI_GetQueryFromRequest_Test::testgetQueryFromRequest with data set #2 ('foo`s@host', 'trigger`s test', 'AFTER', 'foo', 'table3', 'BEGIN SET @A=1; SET @B=2; END', 'CREATE DEFINER=`foo``s`@`host` TRIGGER `trigger``s test` AFTER ON FOR EACH ROW BEGIN SET @A=1; SET @B=2; END', 2) | |
in_array() expects parameter 2 to be array, null given | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/libraries/rte/rte_triggers.lib.php:470 | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/rte/PMA_TRI_getQueryFromRequest_test.php:51 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
21) PMA_TRI_GetQueryFromRequest_Test::testgetQueryFromRequest with data set #3 ('root@localhost', 'trigger', 'BEFORE', 'INSERT', 'table1', 'SET @A=NULL', 'CREATE DEFINER=`root`@`localhost` TRIGGER `trigger` BEFORE INSERT ON `table1` FOR EACH ROW SET @A=NULL', 0) | |
in_array() expects parameter 2 to be array, null given | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/libraries/rte/rte_triggers.lib.php:470 | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/rte/PMA_TRI_getQueryFromRequest_test.php:51 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
-- | |
There were 20 failures: | |
1) ImportCsv_Test::testDoImport | |
Failed asserting that ' | |
RENAME TABLE `pma_test`.`table1` | |
TO `pma_test`.`table3`;CREATE TABLE IF NOT EXISTS `pma_test`.`TABLE 1` (`COL 1` varchar(48)) DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;INSERT INTO `pma_test`.`TABLE 1` (`COL 1`) VALUES ('1,dbbase,,ddd,SELECT * FROM `db_content` WHERE 1');' contains "CREATE DATABASE IF NOT EXISTS `CSV_DB` DEFAULT CHARACTER". | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/classes/plugin/import/ImportCsv_test.php:134 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
2) ImportMediawiki_Test::testDoImport | |
Failed asserting that '<br /><br /><strong>The following structures have either been created or altered. Here you can:</strong><br /><ul><li>View a structure's contents by clicking on its name</li><li>Change any of its settings by clicking the corresponding "Options" link</li><li>Edit structure by following the "Structure" link</li><br /><li><a href="db_structure.php?db=pma_test&lang=en&token=token" title="Go to database: `pma_test`">pma_test</a> (<a href="db_operations.php?db=pma_test&lang=en&token=token" title="Edit settings for `pma_test`">Options</a>)</li><ul><li><a href="sql.php?db=pma_test&table=pma_bookmarktest&lang=en&token=token" title="Go to table: `pma_bookmarktest`">pma_bookmarktest</a> (<a href="tbl_structure.php?db=pma_test&table=pma_bookmarktest&lang=en&token=token" title="Structure of `pma_bookmarktest`">Structure</a>) (<a href="tbl_operations.php?db=pma_test&table=pma_bookmarktest&lang=en&token=token" title="Edit settings for `pma_bookmarktest`">Options</a>)</li></ul></ul>' contains "Go to database: `mediawiki_DB`". | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/classes/plugin/import/ImportMediawiki_test.php:154 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
3) ImportOds_Test::testDoImport | |
Failed asserting that ' | |
RENAME TABLE `pma_test`.`table1` | |
TO `pma_test`.`table3`;CREATE TABLE IF NOT EXISTS `pma_test`.`TABLE 1` (`COL 1` varchar(48)) DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;INSERT INTO `pma_test`.`TABLE 1` (`COL 1`) VALUES ('1,dbbase,,ddd,SELECT * FROM `db_content` WHERE 1');LOAD DATA INFILE 'test/test_data/db_test_ldi.csv' INTO TABLE `phpmyadmintest`CREATE TABLE IF NOT EXISTS `pma_test`.`pma_bookmarktest` (`table header` int(1)) DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;INSERT INTO `pma_test`.`pma_bookmarktest` (`table header`) VALUES (1);CREATE TABLE IF NOT EXISTS `pma_test`.`pma_bookmark` (`A` int(1), `B` varchar(6), `C` varchar(10), `D` varchar(3)) DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;INSERT INTO `pma_test`.`pma_bookmark` (`A`, `B`, `C`, `D`) VALUES (1, 'dbbase', NULL, 'ddd');' contains "CREATE DATABASE IF NOT EXISTS `ODS_DB` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci". | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/classes/plugin/import/ImportOds_test.php:144 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
4) ImportXml_Test::testDoImport | |
Failed asserting that '<br /><br /><strong>The following structures have either been created or altered. Here you can:</strong><br /><ul><li>View a structure's contents by clicking on its name</li><li>Change any of its settings by clicking the corresponding "Options" link</li><li>Edit structure by following the "Structure" link</li><br /><li><a href="db_structure.php?db=pma_test&lang=en&token=token" title="Go to database: `pma_test`">pma_test</a> (<a href="db_operations.php?db=pma_test&lang=en&token=token" title="Edit settings for `pma_test`">Options</a>)</li><ul><li><a href="sql.php?db=pma_test&table=pma_bookmarktest&lang=en&token=token" title="Go to table: `pma_bookmarktest`">pma_bookmarktest</a> (<a href="tbl_structure.php?db=pma_test&table=pma_bookmarktest&lang=en&token=token" title="Structure of `pma_bookmarktest`">Structure</a>) (<a href="tbl_operations.php?db=pma_test&table=pma_bookmarktest&lang=en&token=token" title="Edit settings for `pma_bookmarktest`">Options</a>)</li></ul></ul>' contains "Go to database: `phpmyadmintest`". | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/classes/plugin/import/ImportXml_test.php:150 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
5) PMA_StorageEngine_innodb_Test::testGetPageBufferpool | |
Failed asserting that two strings are equal. | |
--- Expected | |
+++ Actual | |
@@ @@ | |
Total | |
- : 4,096 pages / 65,536 KiB | |
+ : 0 pages / 0 B | |
@@ @@ | |
<th>Read requests</th> | |
- <td class="value">64 | |
+ <td class="value">0 | |
</td> | |
</tr> | |
<tr class="even"> | |
<th>Write requests</th> | |
- <td class="value">64 | |
+ <td class="value">0 | |
</td> | |
</tr> | |
<tr class="odd"> | |
<th>Read misses</th> | |
- <td class="value">32 | |
+ <td class="value">0 | |
@@ @@ | |
<th>Read misses in %</th> | |
- <td class="value">50 % | |
+ <td class="value">--- | |
</td> | |
</tr> | |
<tr class="even"> | |
<th>Write waits in %</th> | |
- <td class="value">0 % | |
+ <td class="value">--- | |
</td> | |
</tr> | |
</tbody> | |
</table> | |
' | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/engines/PMA_StorageEngine_innodb_test.php:266 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
6) PMA_StorageEngine_innodb_Test::testGetInnodbPluginVersion | |
Failed asserting that null matches expected '1.1.8'. | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/engines/PMA_StorageEngine_innodb_test.php:316 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
7) PMA_StorageEngine_innodb_Test::testGetInnodbFileFormat | |
Failed asserting that null matches expected 'Antelope'. | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/engines/PMA_StorageEngine_innodb_test.php:339 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
8) PMA_SQLParser_Test::testParser with data set #3 ('SELECT * from `aaa;', array('SELECT * from `aaa`;', array('alpha_reservedWord', 'SELECT', 6, true), array('punct', '*', 0), array('alpha_reservedWord', 'from', 13, true), array('quote_backtick', '`aaa`', 0), array('punct_queryend', ';', 0), 5), '<div class="notice"><img src="theme/s_notice.png" title="" alt="" /> Automatically appended backtick to the end of query!</div>') | |
Failed asserting that two strings are equal. | |
--- Expected | |
+++ Actual | |
@@ @@ | |
-'<div class="notice"><img src="theme/s_notice.png" title="" alt="" /> Automatically appended backtick to the end of query!</div>' | |
+'' | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
9) PMA_Tracker_Test::testIsTracked | |
Failed asserting that false is true. | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/PMA_Tracker_test.php:256 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
10) PMA_Tracker_Test::testCreateVersion | |
Failed asserting that false matches expected 'executed'. | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/PMA_Tracker_test.php:411 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
11) PMA_BuildHtmlForDb_Test::testGetColumnOrder | |
Failed asserting that two arrays are equal. | |
--- Expected | |
+++ Actual | |
@@ @@ | |
Array ( | |
'DEFAULT_COLLATION_NAME' => Array ( | |
'disp_name' => 'Collation' | |
'description_function' => 'PMA_getCollationDescr' | |
'format' => 'string' | |
- 'footer' => 'utf8_general_ci' | |
+ 'footer' => null | |
) | |
'SCHEMA_TABLES' => Array (...) | |
'SCHEMA_TABLE_ROWS' => Array (...) | |
'SCHEMA_DATA_LENGTH' => Array (...) | |
'SCHEMA_INDEX_LENGTH' => Array (...) | |
'SCHEMA_LENGTH' => Array (...) | |
'SCHEMA_DATA_FREE' => Array (...) | |
) | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/PMA_build_html_for_db_test.php:99 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
12) PMA_BuildHtmlForDb_Test::testBuildHtmlForDb with data set #2 (array('INFORMATION_SCHEMA'), true, 'target=main.php', array(array('Collation', 'PMA_getCollationDescr', 'string', 'utf8_general_ci'), array('Tables', 'number', 0), array('Rows', 'number', 0), array('Data', 'byte', 0), array('Indexes', 'byte', 0), array('Total', 'byte', 0), array('Overhead', 'byte', 0)), array('INFORMATION_SCHEMA'), array(array('false', array('INFORMATION_SCHEMA'))), array(array('td', array('tool'), array('input', array('checkbox', 'selected_dbs[]', 'INFORMATION_SCHEMA', 'disabled'))))) | |
Failed asserting that false is true. | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/PMA_build_html_for_db_test.php:134 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
13) PMA_MySQL_Charsets_Test::testGetDbCollation | |
Failed asserting that null matches expected 'utf8_general_ci'. | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/PMA_mysql_charsets_test.php:87 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
14) PMA_MySQL_Charsets_Test::testGetServerCollation | |
Failed asserting that null matches expected 'utf8_general_ci'. | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/PMA_mysql_charsets_test.php:289 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
15) PMA_Transformation_Test::testGetMime | |
false does not match expected type "array". | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/PMA_transformation_test.php:156 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
16) PMA_DBI_Test::testFetch | |
null does not match expected type "array". | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/database_interface_test.php:55 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
17) PMA_DBI_Test::testSystemSchema with data set #0 ('information_schema', true) | |
Failed asserting that null matches expected true. | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/database_interface_test.php:70 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
18) PMA_DBI_Test::testFormatError with data set #0 (1234, '', '#1234 - ') | |
Failed asserting that null matches expected '#1234 - '. | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/database_interface_test.php:102 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
19) PMA_DBI_Test::testFormatError with data set #1 (1234, 'foobar', '#1234 - foobar') | |
Failed asserting that null matches expected '#1234 - foobar'. | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/database_interface_test.php:102 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
20) PMA_DBI_Test::testFormatError with data set #2 (2002, 'foobar', '#2002 - foobar<br />The server is not responding (or the local server\'s socket is not correctly configured).') | |
Failed asserting that null matches expected '#2002 - foobar<br />The server is not responding (or the local server's socket is not correctly configured).'. | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/database_interface_test.php:102 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
-- | |
There were 2 incomplete tests: | |
1) PMA_ConfigTest::testCheckPermissions | |
This test has not been implemented yet. | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/classes/PMA_Config_test.php:848 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
2) Environment_Test::testSession | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/Environment_test.php:83 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
-- | |
There was 1 skipped test: | |
1) PMA_LangList_Test::testLangListWithDir | |
Cannot open file with locales | |
/Users/ayushchd/Sites/htdocs/phpmyadmin/test/libraries/select_lang/PMA_langList_test.php:34 | |
/usr/local/php5-20130103-080303/bin/phpunit:46 | |
FAILURES! | |
Tests: 1524, Assertions: 2318, Failures: 20, Errors: 21, Incomplete: 2, Skipped: 1. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment