Michal Čihař
8643692d75
Merge branch 'QA_4_7'
2017-03-30 14:31:50 +02:00
Michal Čihař
13d3398ec9
Adjust tests to make them output neutral
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-30 14:31:46 +02:00
Shreyas Sinha
1dfce55965
Incorrect protocol number at 401/303 headers ( #12920 )
...
Shared code for handling HTTP response codes and correctly
set it based on PHP SAPI.
Signed-off-by: Shreyas Sinha <shreyas.sinha14@gmail.com>
2017-02-14 13:20:13 +01:00
osaid
cef6c51375
calling mockResponse() properly
...
Signed-off-by: osaid <osaid.nasir@gmail.com>
2017-01-08 19:43:25 +05:30
osaid
528d702e6b
use shared response mock
...
Signed-off-by: osaid <osaid.nasir@gmail.com>
2017-01-08 19:04:03 +05:30
Osaid Rehman Nasir
73c6a7eb9f
Use Header class for headers manipulation
...
* Added mocking of response object
* Rectified mistake of calling method once
* implemented mock properly
* replaced header with response header
Issue #12079
Signed-off-by: Osaid osaid.nasir@gmail.com
2016-12-20 16:37:11 +01:00
Michal Čihař
ea73fded71
Adjust tests to token removal from GET
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-28 11:22:45 +02:00
Michal Čihař
dbd848d595
Fix wrong redirection tests
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-06-17 13:36:58 +02:00
Michal Čihař
b450e58dbb
Remove require of libraries included in test bootstrap
...
There is no need to specify them in every test when we already do it
globally.
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-12 16:43:16 +01:00
Madhura Jayaratne
3ef4a744c6
Fix more failing tests
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-10-16 19:16:00 +11:00
Hugues Peccatte
e5e447e937
Set namespace on config classes.
...
Update config classes.
Add @noinspection tag.
Update documentation and script.
Set ConfigGenerator in a namespace.
Rename ConfigGenerator filename.
Remove ConfigGenerator requires.
Fix namespaces of mock objects.
Remove useless require.
Add missing 'use'.
Add missing require.
Update PHPDoc.
Fix class test typo.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:23 +02:00
Hugues Peccatte
7f8f34e89d
Remove classes require_once.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:22 +02:00
Hugues Peccatte
f0ba28fc1d
Set namespace on Advisor, Config, Console and Util classes.
...
Set namespace on DbQbe.
Set namespace to 'DbSearch'.
Split Advisor.class.php file.
Change Advisor namespace.
Rename DbQbe class and file.
Set namespace on DisplayResults.
Set namespace on Error.
Use namespace for ErrorHandler.
Add class autoloader.
Change ErrorHandler filename.
Remove some require.
Update Config namespace path.
Update PMA_Util to PMA\libraries\Util.
Rename Font and File classes files.
Use namespace for Footer.
Set namespace in all libraries classes.
Namespace OutputBuffering.
Export SubPartition.
Rename Partition file.
Namespace PDF.
Namespace RecentFavoriteTable.
Replace PMA_Response by Response and PMA_Message by Message.
Update uses and calls.
Fix unit tests.
Fix SqlParser autoload.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:22:52 +02:00
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
cc9bd408bc
Fix test failures
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-05-15 10:31:25 +05:30
Nisarg Jhaveri
431847b39e
Return HTML instead of echo-ing directly in FormDisplay
...
Signed-off-by: Nisarg Jhaveri <nisargjhaveri@gmail.com>
2015-05-15 00:56:26 +05:30
Madhura Jayaratne
3addba490c
Do not break the urls in the middle. Update tests
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-05-14 08:09:43 +05:30
Marc Delisle
b809e36836
Fix coding style
...
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-03-03 08:10:24 -05:00
Hugues Peccatte
ef49eff205
Standardize names of functions.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2013-12-27 13:49:57 +01:00
Madhura Jayaratne
525fd79d19
Remove more trailing white spaces
2013-11-04 22:20:39 +05:30
ayushchd
3f646649ea
Fix test failures because of header redirect
2013-07-15 16:28:42 +05:45
ayushchd
f7e9e262c1
Tests for setup/* and user_prefs*
2013-07-11 13:59:49 +05:45