Commit Graph

76 Commits

Author SHA1 Message Date
Marc Alexander
d554480697 [ticket/289] Add missing class variable to modules_helper 2014-07-24 17:51:16 +02:00
Marc Alexander
7f887b872c [ticket/289] Add method for generating forum select boxes 2014-07-24 17:42:51 +02:00
Marc Alexander
240168e925 [ticket/289] Add method for generating select boxes in modules 2014-07-24 13:16:48 +02:00
Marc Alexander
b9d0236793 [ticket/305] Mark phpbb_fetch_posts() as deprecated
B3P-305
2014-07-12 23:29:42 +02:00
Marc Alexander
9922b6a7a7 [ticket/305] Add fetch_posts service as replacement for phpbb_fetch_posts
B3P-305
2014-07-12 23:16:18 +02:00
Marc Alexander
f2a6bce07b [ticket/303] Add sql_exists to cache mock
B3P-303
2014-07-09 23:55:00 +02:00
Marc Alexander
1a9dfa8a58 [ticket/303] Add tests for get_user_groups()
B3P-303
2014-07-09 23:25:26 +02:00
Marc Alexander
2cdc2ee211 [ticket/301] Extend phpbb_fetch_posts coverage to 100%
B3P-301
2014-07-09 22:17:46 +02:00
Marc Alexander
a552a5cb8f [ticket/301] Add higher test coverage of phpbb_fetch_posts
B3P-301
2014-07-09 20:49:49 +02:00
Marc Alexander
63be896ca4 [ticket/301] Cover InvalidArgumentException in phpbb_fetch_posts
B3P-301
2014-07-09 20:05:08 +02:00
Marc Alexander
9d678d86a9 Merge pull request #300 from marc1706/ticket/299
[ticket/299] Add tests for phpbb_fetch_posts
2014-07-08 20:23:21 +02:00
Marc Alexander
92e17646ed [ticket/299] Add missing sql_exists to fetch_news_test
B3P-299
2014-07-08 19:18:12 +02:00
Marc Alexander
c4c884bd7c [ticket/299] Fix calendar module test
B3P-299
2014-07-08 19:00:44 +02:00
Marc Alexander
aeb912a559 [ticket/299] Add tests for phpbb_fetch_posts
B3P-299
2014-07-08 18:45:49 +02:00
Marc Alexander
bf7b8eb99b [ticket/297] Rename version_check method to check to prevent 2nd constructor
B3P-297
2014-07-08 16:14:59 +02:00
Marc Alexander
496fb8b60b [ticket/293] Use trimmessage as composer dependency
B3P-293
2014-07-08 00:07:44 +02:00
Marc Alexander
d7fadc322e [ticket/294] Remove scrutinizer issues introduced recently
B3P-294
2014-07-07 22:43:46 +02:00
Marc Alexander
40f630a55d [ticket/291] Add modules_helper and use for permission checks
B3P-291
2014-07-07 15:16:29 +02:00
Marc Alexander
0ae979e34a [ticket/291] Add get_disallowed_forums() method to helper
B3P-291
2014-07-07 14:05:06 +02:00
Marc Alexander
b9a6a3b3e5 [ticket/291] Add portal helper class
B3P-291
2014-07-07 11:35:11 +02:00
Marc Alexander
5d9c9447f0 [ticket/289] Rename mod_version_check to just version_check
B3P-289
2014-07-07 00:24:09 +02:00
Marc Alexander
cd43291738 [ticket/283] Mark shortened message test skipped if trimmessage not available
B3P-283
2014-07-06 22:07:44 +02:00
Marc Alexander
71e71e75df [ticket/281] Add a few more tests for functions.php
B3P-281
2014-06-28 17:00:01 +02:00
Marc Alexander
79e22c2b9c [ticket/281] Fix incorrect check in calendar tests
B3P-281
2014-06-28 16:37:58 +02:00
Marc Alexander
2b05666f1a [ticket/281] Fix date_to_time tests
B3P-281
2014-06-28 15:54:24 +02:00
Marc Alexander
3ef03e4a43 [ticket/281] Run calendar tests and extend calendar testing
B3P-281
2014-06-28 15:48:56 +02:00
Marc Alexander
f4f797a477 Merge pull request #278 from marc1706/ticket/277
[ticket/277] Add tests for functions_modules.php
2014-06-28 14:39:50 +02:00
Marc Alexander
24b9fed88b [ticket/277] Add tests for functions_modules.php
B3P-277
2014-06-28 14:22:15 +02:00
Marc Alexander
909c123cd9 [ticket/275] Fix incorrect copyrights in portal files
B3P-275
2014-06-28 13:54:19 +02:00
Marc Alexander
7d0edf7403 [ticket/269] Use trimmessage tool as extension and add test
B3P-269
2014-06-27 17:39:16 +02:00
Marc Alexander
87bf71684d [ticket/269] Move definition of portal tables to services file
B3P-269
2014-06-27 17:38:43 +02:00
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