Joas Schilling
4d4cf25edd
[ticket/11492] Fix the test once more
...
PHPBB3-11492
2013-04-11 16:29:15 +02:00
Joas Schilling
7f527e8012
[ticket/11492] Fix issues with log object
...
PHPBB3-11492
2013-04-11 16:05:04 +02:00
Joas Schilling
f920c69ad5
[ticket/11492] Split into mutliple tests
...
PHPBB3-11492
2013-04-11 15:44:54 +02:00
Joas Schilling
e5503e20d8
[ticket/11492] Do not add the user again
...
PHPBB3-11492
2013-04-11 15:28:55 +02:00
Joas Schilling
59ad90b25c
[ticket/11492] Add tests for removing/adding users
...
PHPBB3-11492
2013-04-11 15:20:14 +02:00
Joas Schilling
60713c8a20
[ticket/11492] Add functional test for empty teampage
...
PHPBB3-11492
2013-04-11 15:00:22 +02:00
Nils Adermann
3985bdbc1b
Merge pull request #1199 from imkingdavid/ticket/11334
...
[ticket/11334] Properly generate controller URL with helper url() method
2013-04-03 06:44:15 -07:00
Nils Adermann
78dc1c84c8
Merge pull request #1316 from nickvergessen/ticket/11405
...
Ticket/11405 Users that are subscribed to a forum, should receive notifications for new replies
2013-03-31 15:02:48 -07:00
Andreas Fischer
e3a6935de6
[ticket/11469] Add more table status assertions.
...
PHPBB3-11469
2013-03-28 00:28:51 +01:00
Andreas Fischer
e022a7e8f6
[ticket/11469] Remove comments. Method names should be good enough now.
...
PHPBB3-11469
2013-03-28 00:28:51 +01:00
Andreas Fischer
a04fe625a8
[ticket/11469] Do not repeat markTestSkipped() message.
...
PHPBB3-11469
2013-03-28 00:28:51 +01:00
Andreas Fischer
6f946e2188
[ticket/11469] Refactor get_three_rows() into get_rows($n).
...
PHPBB3-11469
2013-03-28 00:28:51 +01:00
Andreas Fischer
eacd0f3e7d
[ticket/11469] Fix spacing in getDataSet().
...
PHPBB3-11469
2013-03-28 00:28:51 +01:00
Andreas Fischer
c909d9602b
[ticket/11469] Do not repeat assert_config_count(2). Also move to setUp().
...
PHPBB3-11469
2013-03-28 00:28:50 +01:00
Andreas Fischer
b48c4d9549
[ticket/11469] Use setUp() to setup DB and a buffer with size 2.
...
PHPBB3-11469
2013-03-28 00:28:50 +01:00
Andreas Fischer
b88eb3c8e0
[ticket/11469] Do not repeat row generation.
...
PHPBB3-11469
2013-03-28 00:28:50 +01:00
Andreas Fischer
873f098b6c
[ticket/11469] Do not repeat array with three rows.
...
PHPBB3-11469
2013-03-28 00:28:46 +01:00
Andreas Fischer
a534497d82
[ticket/11469] Move protected method to end of test file.
...
PHPBB3-11469
2013-03-28 00:22:07 +01:00
Joas Schilling
69ad4aab78
[ticket/11469] Check return values of the functions
...
PHPBB3-11469
2013-03-27 20:55:08 +01:00
Joas Schilling
9606ccc202
[ticket/11469] Split tests and skip multi_insert if unavailable
...
PHPBB3-11469
2013-03-27 20:54:20 +01:00
Andreas Fischer
55fb87ff18
Merge remote-tracking branch 'nickvergessen/ticket/bantu/11469' into ticket/11469
...
* nickvergessen/ticket/bantu/11469:
[ticket/11469] Use method to check config count, instead of repeating it
[ticket/11469] Return after sql_multi_insert when multi_insert is false
[ticket/11469] Add some basic unit tests for phpbb_db_sql_insert_buffer
2013-03-27 18:11:49 +01:00
Joas Schilling
af9f30cd52
[ticket/11469] Use method to check config count, instead of repeating it
...
PHPBB3-11469
2013-03-27 14:09:04 +01:00
Joas Schilling
8dd26dee83
[ticket/11469] Add some basic unit tests for phpbb_db_sql_insert_buffer
...
PHPBB3-11469
2013-03-27 14:00:46 +01:00
Joas Schilling
bdd2062a66
[ticket/11474] Add test user with only global m_approve permissions
...
PHPBB3-11405
PHPBB3-11474
2013-03-27 11:12:33 +01:00
Nils Adermann
b7778f7fde
Merge remote-tracking branch 'github-bantu/ticket/11460' into develop
...
* github-bantu/ticket/11460:
[ticket/11460] Add default behaviour tests for notification and email types.
[ticket/11460] Configure functional test board email using dummy SMTP data.
[ticket/11460] Add test for whether post_email and topic_email are checked.
[ticket/11460] Add methods for checkbox handling to phpbb_functional_test_case.
[ticket/11460] Drop incorrect phpbb_notification_{type,method}_ prefix.
2013-03-27 06:31:53 +01:00
Joas Schilling
8a94e08e30
[ticket/11405] Add unit tests for post_in_queue
...
PHPBB3-11405
2013-03-26 20:17:26 +01:00
Joas Schilling
0f204595d9
[ticket/11405] Fix "only variables should be passed by reference"
...
PHPBB3-11405
2013-03-26 20:17:24 +01:00
Joas Schilling
e20b0a4234
[ticket/11405] Use different fixtures so it's not a total mess
...
PHPBB3-11405
2013-03-26 13:06:04 +01:00
Joas Schilling
7e2f80ec0a
[ticket/11405] Add unit tests for bookmarking
...
PHPBB3-11405
2013-03-26 12:59:35 +01:00
Joas Schilling
cdd45cb8ba
[ticket/11405] Move test to submit_post_base.php and use data sets for testing
...
PHPBB3-11405
2013-03-26 12:58:14 +01:00
Joas Schilling
053c75543d
[ticket/11405] Correctly prefill the tables (missed the posts and not-types)
...
PHPBB3-11405
2013-03-25 15:34:18 +01:00
Joas Schilling
060876e627
[ticket/11405] Add a base class to avoid duplicated setUp() code
...
PHPBB3-11405
2013-03-25 15:16:29 +01:00
Joas Schilling
499eded880
[ticket/11405] Add unit tests for quoted users notifications
...
PHPBB3-11405
2013-03-25 15:07:05 +01:00
Joas Schilling
7d5949ae3d
[ticket/11405] Fix some coding style issues
...
PHPBB3-11405
2013-03-25 14:37:22 +01:00
Joas Schilling
a91ffe06c7
[ticket/11405] Send post notifications to forum subscribers
...
Like in 3.0 we should also send notifications about new posts to users
that subscribed to the forum. (Subscriptions are verbose)
PHPBB3-11405
2013-03-25 09:28:53 +01:00
Andreas Fischer
d3decaeedf
[ticket/11460] Add default behaviour tests for notification and email types.
...
PHPBB3-11460
2013-03-24 23:42:13 +01:00
Joas Schilling
bc5f8e30d0
[ticket/11405] Add some basic tests for notifications in submit_post()
...
Poster, should NOT receive a notification
Topic subscribed, should receive a notification
Topic subscribed, but unauthed to read, should NOT receive a notification
Topic subscribed, but already notified, should NOT receive a new notification
Topic and forum subscribed, should receive ONE notification
Forum subscribed, should receive a notification
Forum subscribed, but already notified, should NOT receive a new notification
PHPBB3-11405
2013-03-23 13:20:32 +01:00
Andreas Fischer
02817158fc
[ticket/11460] Configure functional test board email using dummy SMTP data.
...
PHPBB3-11460
2013-03-22 22:42:05 +01:00
Andreas Fischer
69df6b49db
[ticket/11460] Add test for whether post_email and topic_email are checked.
...
PHPBB3-11460
2013-03-22 22:16:24 +01:00
Andreas Fischer
15aec0bbb2
[ticket/11460] Add methods for checkbox handling to phpbb_functional_test_case.
...
PHPBB3-11460
2013-03-21 03:07:50 +01:00
Andreas Fischer
3c99a33e87
[ticket/11457] Remove check and include for set_var function. It's not used.
...
PHPBB3-11457
2013-03-17 18:58:43 +01:00
Andreas Fischer
51c1ba12c1
Merge remote-tracking branch 'nickvergessen/ticket/11443' into develop
...
* nickvergessen/ticket/11443:
[ticket/11443] Fix Migrator Modules Tool by creating a phpbb_log object
[ticket/11443] Add _test suffix to migration test filenames
2013-03-16 01:44:36 +01:00
Joas Schilling
4168cfd7e6
[ticket/11443] Fix Migrator Modules Tool by creating a phpbb_log object
...
PHPBB3-11443
2013-03-16 01:24:50 +01:00
Joas Schilling
afd3681208
Merge remote-tracking branch 'bantu/ticket/11441' into develop
...
* bantu/ticket/11441:
[ticket/11441] Split user loader tests into multiple test methods.
[ticket/11441] Use setUp() in phpbb_user_loader_test.
[ticket/11441] Update/correct copyright year of user loader test.
[ticket/11441] Correct/fix class name of user loader test.
[ticket/11441] Add _test prefix to user loader test filename.
2013-03-15 19:06:54 +01:00
Joas Schilling
3b0cdc5362
[ticket/11334] Allow parameters to be specified in the route
...
PHPBB3-11334
2013-03-15 15:21:15 +01:00
Joas Schilling
9157095cda
[ticket/11334] Fix copyright year in test file
...
PHPBB3-11334
2013-03-15 09:18:15 -04:00
Joas Schilling
076711d9a9
[ticket/11334] Use mocks instead of making parameters optional
...
PHPBB3-11334
2013-03-15 09:18:14 -04:00
Joas Schilling
9259e635ca
[ticket/11334] Move unit tests for helper->url() into own file
...
PHPBB3-11334
2013-03-15 09:18:13 -04:00
Joas Schilling
cd697e6812
[ticket/11334] Include functions.php and fix class name in tests
...
PHPBB3-11334
2013-03-15 09:18:11 -04:00
David King
48aefb13b0
[ticket/11334] Make $phpbb_dispatcher global, as done in append_sid test
...
PHPBB3-11334
2013-03-15 09:18:09 -04:00