Commit Graph

45 Commits

Author SHA1 Message Date
Marc Alexander
a11bdf667f [ticket/261] Require phpBB functions.php in check_file_src_test
B3P-261
2014-06-11 16:31:23 +02:00
Joas Schilling
fe33179197 Use new testing framework, weeeeh 2014-06-10 23:33:51 +02:00
Marc Alexander
923574566b [ticket/239] Do not test access to the upload module
B3P-239
2014-06-09 15:11:12 +02:00
Marc Alexander
50737c5cff [ticket/251] Fix display of date of users upcoming birthdays
B3P-251
2014-06-09 14:39:22 +02:00
Marc Alexander
6e67220fcc [ticket/248] Allow different types of timestrings for calendar events
B3P-248
2014-06-09 11:43:32 +02:00
Marc Alexander
66a1f20705 [ticket/248] Move unit tests to unit folder
B3P-248
2014-06-09 11:40:16 +02:00
Marc Alexander
81d25051ad [ticket/240] Specify correct namespace of bbcode class
B3P-240
2014-04-12 15:42:49 +02:00
Marc Alexander
4da6d97653 [ticket/102] Add functional tests for deleting module and fix deleting module
B3P-102
2014-04-08 16:41:20 +02:00
Marc Alexander
2da97611a7 [ticket/102] Cover moving modules more and fix functional tests
B3P-102
2014-04-08 00:19:18 +02:00
Marc Alexander
8db374bcd8 [ticket/233] Properly redirect to portal after login
We need to provide a proper path with controller helper and path helper.
A simple path to the portal is not enough, as we redirect from ucp.php.
Therefore, we need to remove the web root path from the URL to the portal.

B3P-233
2014-04-06 19:48:41 +02:00
Marc Alexander
85ea218545 [ticket/229] Test if legend contains more than just Administrators
B3P-229
2014-04-06 01:26:36 +02:00
Marc Alexander
4319d7d041 [ticket/224] Use new create_schema_files from phpBB and json schema
B3P-224
2014-04-05 14:50:40 +02:00
Marc Alexander
4655544ed4 [ticket/216] Add method for checking if module can be moved
Also fixed minor issues with incorrect checks for module class 'custom'.

B3P-216
2014-02-18 00:44:41 +01:00
Marc Alexander
1d2bc15cf4 [ticket/216] Get full test coverage on move_module_left & move_module_right
B3P-216
2014-02-12 18:27:34 +01:00
Marc Alexander
c7b71f8c0a [ticket/216] Add move_module_left and move_module_right to unit tests
These methods are now covered by unit tests. They might need to be
stripped a little bit as the code coverage report currently states that
some part of the code is never hit.

B3P-216
2014-02-11 23:00:28 +01:00
Marc Alexander
feb2f52d4d [ticket/216] Methods for last module order and handle_after_move()
The method for getting the last module order will return the last module
order in a column. handle_after_move() will take care of return an error
to the user or redirecting if the move was successful.

B3P-216
2014-02-11 22:05:55 +01:00
Marc Alexander
48ae4e63fb [ticket/216] Do not try to set language if $lang is null in user mock
B3P-216
2014-02-09 16:34:31 +01:00
Marc Alexander
2909976697 [ticket/216] Use get_move_module_data() for acquiring module data for moving
This will get rid of a query code that was duplicated over 4 methods in
portal_module.

B3P-216
2014-02-09 16:23:46 +01:00
marc1706
19b4a3a5a0 [ticket/212] Fix base database test
B3P-212
2014-02-06 23:12:33 +01:00
marc1706
68cd966f3b [ticket/212] Add tests for moving modules
B3P-212
2014-02-06 22:50:56 +01:00
marc1706
fc78d5c5ed [ticket/212] Add missing schema data and improve user class for acp tests
B3P-212
2014-02-06 22:49:36 +01:00
Marc Alexander
fb7871cb87 [ticket/208] Make sure functional tests only try to enable portal once
Until now, the portal would access the acp page for enabling it every time
a functional test is run. This change will make sure that this happens only
once and therefore slightly speeds up functional tests.

B3P-208
2014-02-04 00:35:12 +01:00
Marc Alexander
c873fd768c [ticket/208] Fix paths after moving includes files
B3P-208
2014-02-04 00:14:59 +01:00
Marc Alexander
e88a313640 [func_test/registered] Add functional tests for registered users
B3P-203
2014-01-31 17:09:55 +01:00
Marc Alexander
795add0751 [functional_test/announce] Add functional tests for announcements on portal 2013-12-29 22:12:23 +01:00
Marc Alexander
2c08318ee4 [tests/portal_acp] Test if acp portal pages show without errors 2013-11-24 01:18:38 +01:00
Marc Alexander
5e575e2f83 [use/request_class] Add test for no errors for guests on portal with poll 2013-11-26 12:56:24 +01:00
Marc Alexander
71a4315ffe [extend/vote_test] Change links to portal to use correct format app.php/portal 2013-11-19 17:34:23 +01:00
Marc Alexander
669688006f [extend/vote_test] Extend vote test to vote on poll 2013-11-19 16:51:28 +01:00
Marc Alexander
d1a4097c45 Merge pull request #193 from marc1706/split/functional_test
[split/functional_test] Split poll tests into seperate functional test file
2013-11-17 23:03:42 -08:00
Marc Alexander
5609bf131b [split/functional_test] Split poll tests into seperate functional test file 2013-11-17 23:48:54 +01:00
Marc Alexander
0c38ca2924 [fix/version_check_test] Include utf_tools.php in version_check_test 2013-11-16 17:59:00 +01:00
Marc Alexander
9b85ac923b [feature/module_services] Fix check_file_src() function for extensions 2013-11-15 18:19:54 +01:00
Marc Alexander
71145968ca [feature/module_services] Try fixing function tests for nginx 2013-11-14 19:31:26 +01:00
Marc Alexander
0f449e142a [feature/module_services] Add tests that check if errors appear on portal 2013-11-14 18:48:23 +01:00
Marc Alexander
52b7ce6aa3 [remove/add_lang] Remove add_lang from functional tests 2013-11-06 16:46:37 +01:00
Marc Alexander
9adf059eaa [ticket/181] Correctly check if Board3 Portal extension is disabled 2013-11-06 16:20:50 +01:00
Marc Alexander
04f6d4018f [ticket/181] Check if mod_rewrite is enabled in functional tests 2013-11-06 12:54:57 +01:00
Marc Alexander
2c8a93b6d9 [ticket/181] Add functional tests for portal redirect 2013-11-06 11:48:09 +01:00
Marc Alexander
6747625a5c [feature/mod_version_check] Add newer mod version check service 2013-10-30 00:14:44 +01:00
Marc Alexander
34ceca877e [fix/folders] fix unit tests after moving files 2013-10-29 18:26:51 +01:00
Marc Alexander
e7413d417d [feature/tests] fix tests for not defined PHPUnit_Runner_Version 2013-10-29 16:11:39 +01:00
Marc Alexander
fe7794f81a [feature/tests] Fix testframework for board3 portal 2013-10-29 15:12:24 +01:00
Marc Alexander
c3066e6f01 [feature/tests] Add simple function test 2013-10-29 15:03:59 +01:00
Marc Alexander
d757d7396d [feature/tests] Add extension-testframework from phpBB gallery 2013-10-29 15:02:51 +01:00