Commit Graph

1060 Commits

Author SHA1 Message Date
Marc Delisle
f447cd94b0 Fix merge conflict
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-09-08 11:35:05 -04:00
Madhura Jayaratne
785f4e2711 Fix reCaptcha bypass
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-09-08 07:13:24 +10:00
Madhura Jayaratne
c8c12767c0 Fix another test
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-09-03 15:04:10 +10:00
Madhura Jayaratne
b48c414c0b Fix bugs introduced in 788c96e8c7 while fixing issue #11442
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-09-03 09:53:34 +10:00
Madhura Jayaratne
788c96e8c7 Fix #11442 MySQL 5.7 and SHOW VARIABLES
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-31 17:10:32 +10:00
Madhura Jayaratne
154d62d27d Fix #11436 CREATE DATABASE should be enabled by default on server exports
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-28 18:52:37 +10:00
Madhura Jayaratne
5605ec6652 Update tests with sentence case
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-26 17:35:50 +10:00
Hugues Peccatte
b8475ef154 Fix syntax error.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-25 16:32:37 +02:00
Hugues Peccatte
ac955df90d Fix syntax error.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-25 16:27:01 +02:00
Hugues Peccatte
17fb74d2cf Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-25 16:20:31 +02:00
Atul Pratap Singh
917add1528 Merge pull request #11370 from gzzhanghao/unittest
Recover test coverage
2015-08-25 13:30:44 +05:30
Madhura Jayaratne
e29ba1df22 Fix tests. Now there are only 5 as CREATE TABLE options are under 'Add CREATE TABLE statement' option
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-25 09:02:56 +10:00
Madhura Jayaratne
88132a7fc6 Update tests
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-21 06:49:47 +05:30
Madhura Jayaratne
5f4e8e0f2b Fix tests
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-20 10:53:01 +05:30
Madhura Jayaratne
259564b979 Fix tests
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-20 10:46:35 +05:30
Jason
d6577f5d1a Add tests for TableSearchController, TableStructureController.
- Also fix a missing include in operations.lib.php

Signed-off-by: Jason <jason.daurus@gmail.com>
2015-08-20 01:20:08 +08:00
Jason
fae4d6ce14 Fix failures in TableStructureController_Test
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-08-18 14:55:29 +08:00
Jason
fffcb7bc8b Add tests for TableStructureController and TableRelationController
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-08-18 02:35:18 +08:00
Jason
a121073c31 Add tests for DatabaseStructureController
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-08-17 01:31:14 +08:00
Jason
0cfaa66032 Complete tests for TableIndexesController
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-08-12 16:50:09 +08:00
Jason
59b11954f4 Recover tests for PMA_Table and rename sGetStatusInfo to getStatusInfo
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-08-12 16:48:40 +08:00
Jason
6d0d61e7f0 Recover some logic tests - TableSearchController
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-08-12 16:43:12 +08:00
Dan Ungureanu
762d67dc36 Rewrote a part of the import mechanism.
Updated sql-parser library to udan11/sql-parser@e713c9fa1d.

Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-08-11 23:32:18 +03:00
Marc Delisle
c3c196cad8 Remove dead code
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-08-06 14:49:17 -04:00
Madhura Jayaratne
e9dfc964e3 Merge branch 'QA_4_4' 2015-07-31 14:17:46 +05:30
Madhura Jayaratne
199e8d2544 Update tests
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-31 14:14:33 +05:30
Marc Delisle
4751ca3a21 Merge pull request #11329 from udan11/update
Fixes #11325 and #11327.
2015-07-29 05:54:19 -04:00
Dan Ungureanu
f539a7398b Fix failing test.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-28 22:49:38 +03:00
Hugues Peccatte
bce60613ae Update comments style.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-07-28 20:38:59 +02:00
Madhura Jayaratne
cd76cb6acc Avoid caching JS and CSS files across phpMyAdmin versions
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-27 21:52:20 +05:30
Dan Ungureanu
b6fc66649e Added tests for sql.lib.php and parse_analyze.inc.php.
Removed dead code.
Fixed miscellaneous issues.
Fixed a bug in PMA_isJustBrowsing().
Updated sql-parser library to udan11/sql-parser@e713c9f.

Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-25 19:39:33 +03:00
Jason
6fd29078b6 Fix test failures
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-07-23 11:46:40 +08:00
Jason
12ac57e0bd Remove references to TableSearch.class.php
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-07-23 11:29:53 +08:00
Jason
6636153071 Resolve conflicts from upstream
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-07-23 11:29:53 +08:00
Hugues Peccatte
77a40e7f9e Fix typo.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-07-21 00:08:26 +02:00
Madhura Jayaratne
473d9ba54a For tests MySQL version is defined as 5.50. So document links will get point to the latest, which is 5.7 now
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-20 09:54:02 +05:30
Dan Ungureanu
91b97fadc2 Remove unneeded closing tags.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-19 00:18:38 +03:00
Madhura Jayaratne
06ee23ed26 Add PMA_VERSION to fix failing tests
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-17 11:28:34 +05:30
Madhura Jayaratne
8856d2b7da We need to test PMA_VERSION to avoid PMA_checkRelationsParam()
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-17 11:11:47 +05:30
Madhura Jayaratne
a3285a7cd3 Support MySQL 5.7.5 virtual columns
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-13 15:14:15 +05:30
Dan Ungureanu
053f7fc2e9 Fixed test. 2015-07-12 00:49:49 +03:00
Dan Ungureanu
5fa3bdf0d1 Restore SQL mode after export with certain configuration has finished.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-11 00:42:16 +03:00
Dan Ungureanu
7c60eba902 Fix HHVM tests.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-10 23:18:19 +03:00
Dan Ungureanu
ecc60f3664 Fixed failing tests. Also, removed deprecated PHPUnit configuration that might cause issues with XDebug.
Fixed a bug where the query delimiter would not be added.
Updated sql-parser to udan11/sql-parser@7c925b6.

Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-10 23:18:18 +03:00
Dan Ungureanu
ae733edf41 Removed the old parser.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-10 23:18:18 +03:00
Dan Ungureanu
d4cbb51d04 Using the new parser for replacing aliases for export.
Updated sql-parser library to udan11/sql-parser@2833495.

Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-10 23:18:17 +03:00
Dan Ungureanu
889b49ee13 Refactored Table.class.php.
Updated sql-parser library to udan11/sql-parser@b3eff80.
Fixed failing test.

Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-10 23:18:16 +03:00
Dan Ungureanu
684b4bed1a Finished replacing the old parser in DisplayResults.
Updated sql-parser library.

Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-10 23:18:16 +03:00
Dan Ungureanu
2826b6b328 More refactoring.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-10 23:18:16 +03:00
Dan Ungureanu
ffbbf21ef6 Removed dead code.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-10 23:18:13 +03:00