Nathaniel Guse
d6384f8939
[ticket/11744] Group request test
...
PHPBB3-11744
2013-07-26 13:09:24 -05:00
Nathaniel Guse
a988c7e396
[ticket/11744] Create base notification test class for setup
...
PHPBB3-11744
2013-07-26 13:08:53 -05:00
Joas Schilling
057d860d07
[ticket/11696] Rename db_tools.php so it can be autoloaded
...
PHPBB3-11696
2013-07-14 10:10:05 -04:00
Nathan Guse
87795eba55
Merge pull request #1017 from nickvergessen/feature/softdelete-1-permission
...
Soft delete
2013-07-13 08:57:20 -07:00
Joas Schilling
1584fdd26d
Merge remote-tracking branch 'EXreaction/ticket/11420' into develop
...
* EXreaction/ticket/11420:
[ticket/11420] Fix tests
[ticket/11420] Fix tests
[ticket/11420] Fix tests
[ticket/11420] Use !==, === when comparing strings
[ticket/11420] Fix comments, license link
[ticket/11420] Rename migrations file to something more helpful
[ticket/11420] Forgot to include mock sql_insert_buffer
[ticket/11420] Fix notification options conversion
2013-07-13 11:15:53 -04:00
Nathaniel Guse
fa8f62a604
[ticket/11420] Fix tests
...
PHPBB3-11420
2013-07-12 09:46:51 -05:00
Nathaniel Guse
9bfb567854
[ticket/11420] Fix tests
...
PHPBB3-11420
2013-07-11 15:58:02 -05:00
Nathaniel Guse
91165e0758
[ticket/11420] Fix tests
...
PHPBB3-11420
2013-07-11 15:49:32 -05:00
Joas Schilling
7262045a24
[ticket/9657] Fix notification tests
...
PHPBB3-9657
2013-07-11 15:19:39 +02:00
Nathan Guse
9f85a4d118
[ticket/11420] Use !==, === when comparing strings
...
PHPBB3-11420
2013-07-06 12:59:26 -05:00
Joas Schilling
b8678f4678
[ticket/11561] Specify used tables in notification fixture, so they are emptied
...
PHPBB3-11561
2013-06-18 10:41:52 +02:00
Nathaniel Guse
bae42c6f0a
[ticket/11413] Use phpbb_user in test
...
PHPBB3-11413
2013-05-13 00:48:27 -05:00
Nathaniel Guse
a4d6486d80
[ticket/11413] Fix unit tests
...
PHPBB3-11413
2013-05-13 00:35:01 -05:00
Nathaniel Guse
3c76cdeb67
[ticket/11413] Remove remaining irrelevant code to this PR
...
PHPBB3-11413
2013-05-03 08:50:27 -05:00
Nathaniel Guse
a4fe72bd53
[ticket/11420] Fix notification options conversion
...
PHPBB3-11420
2013-05-02 15:40:43 -05:00
Nathaniel Guse
07c972f5d7
[ticket/11413] Remove changes for ticket 11420 from this branch
...
PHPBB3-11413
2013-05-02 15:39:26 -05:00
Nathaniel Guse
9004676810
[ticket/11413] Include mock class
...
PHPBB3-11413
2013-04-30 22:02:10 -05:00
Nathaniel Guse
2f2feaa4e8
[ticket/11413] Don't use the database for the convert test
...
Different databases seem to work slightly differently here and are causing
errors
PHPBB3-11413
2013-04-30 21:38:40 -05:00
Nathaniel Guse
f2e618a05d
[ticket/11413] Test get_notification_type_id and _ids functions
...
PHPBB3-11413
2013-04-30 21:10:04 -05:00
Nathaniel Guse
00ea297b61
[ticket/11413] Create test for notification conversion
...
PHPBB3-11413
2013-04-30 20:54:01 -05:00
Nathaniel Guse
878df5f280
[ticket/11413] Fix test fixtures and tests
...
PHPBB3-11413
2013-04-29 23:10:38 -05:00
Nathaniel Guse
78c22248fa
[ticket/11413] Fix some more tests
...
PHPBB3-11413
2013-04-29 22:41:08 -05:00
Nathaniel Guse
4cd0914f89
[ticket/11413] Fix notification tests
...
Send types/methods the cache service, not the driver (not sure why the
driver was sent before)
PHPBB3-11413
2013-04-29 22:16:46 -05:00
Nathan Guse
c870b9f43b
[ticket/11335] (more tests) Make php_ext 'php' not '.php'
...
PHPBB3-11335
2013-04-24 17:45:56 -05: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
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
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
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
15cade3dc5
[ticket/11439] Add _test suffix to notification test filename.
...
PHPBB3-11439
2013-03-15 10:21:09 +01:00
Nathan Guse
07282a30ae
[ticket/11103] Fix some various issues, better comments
...
PHPBB3-11103
2013-01-15 12:10:07 -06:00
Nathaniel Guse
148463d586
[ticket/11103] Remove global $db usage in test
...
PHPBB3-11103
2012-12-26 11:05:12 -06:00
Nathan Guse
eeb4018195
[ticket/11103] data -> notification_data
...
PHPBB3-11103
2012-12-15 22:08:10 -06:00
Nathan Guse
fad6bc5a7e
[ticket/11103] unread -> notification_read
...
PHPBB3-11103
2012-12-15 22:06:32 -06:00
Nathan Guse
47bed33216
[ticket/11103] time -> notification_time
...
PHPBB3-11103
2012-12-15 22:02:16 -06:00
Nathan Guse
84284a9cce
[ticket/11103] Use scope: prototype
...
This lets us clean up the mess that was in load_object(), but requires
scope: prototype to be added to the service definitions for all types
or methods!
PHPBB3-11103
2012-12-09 13:43:06 -06:00
Nathan Guse
6b7443adac
[ticket/11103] User loader test.bat
...
PHPBB3-11103
2012-12-08 13:41:44 -06:00
Nathan Guse
2afb8b9df8
[ticket/11103] Create user loader class, update for DIC
...
Create a very basic user loader class to handle querying/storing
user data in a centralized location.
Use DIC collection service for notification types/methods.
Cleanup unused dependencies.
Fix some other issues.
PHPBB3-11103
2012-11-20 22:54:16 -06:00
Nathan Guse
ead1d92b22
[ticket/11103] Handle the ext notification type better
...
We don't actually need to test the finder here, so don't copy the ext
directory over
PHPBB3-11103
2012-10-29 18:41:31 -05:00
Nathan Guse
e549b7663d
[ticket/11103] Set basic notifications to be enabled by default
...
Now, if there is no row for the user in the user_notifications table,
the user will receive basic notifications. If the user wishes to not
receive notifications, a row must be added with notify = 0.
For other methods besides the basic (e.g. email, jabber) a row must
still be added with notify = 1 for them to receive notifications
PHPBB3-11103
2012-10-29 18:09:20 -05:00
Nathan Guse
bc18e368c3
[ticket/11103] Correct the test case
...
Fix a bug that broke it and make sure to set the needed config/auth settings
PHPBB3-11103
2012-10-20 21:55:58 -05:00
Nathan Guse
94d682f774
[ticket/11103] Use the full class name as the item_type/method
...
This is going to require you recreate the db tables.
PHPBB3-11103
2012-10-20 20:58:53 -05:00