Commit Graph

18 Commits

Author SHA1 Message Date
Peter Jaszkowiak
b171f3072b Fix many "duplicate key" errors
- Reset defaults after every test
- Remove individual `after(db.emptydb)` calls
- Fix async.every in groups test
- Update plugin list in socket tests
2017-05-26 17:16:59 -06:00
Barış Soner Uşaklı
c5c755fbb0 more notification tests 2017-05-20 22:30:12 -04:00
Barış Soner Uşaklı
9af252b899 notifications tests 2017-05-20 21:01:55 -04:00
Barış Soner Uşaklı
33023ea419 create a notif before pruning 2017-05-13 22:15:31 -04:00
Barış Soner Uşaklı
8920523e06 more tests 2017-05-13 21:45:54 -04:00
barisusakli
5a2ff8ed0a closes #5527 2017-03-14 23:03:09 +03:00
Peter Jaszkowiak
896c8c7343 ESlint object-curly-spacing 2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
52f2028206 ESlint no-multiple-empty-lines 2017-02-17 22:08:23 -07:00
Peter Jaszkowiak
b09b3aef7f ESlint no-undef, remove global comments 2017-02-17 22:03:55 -07:00
Peter Jaszkowiak
bc1d70c126 ESlint comma-dangle 2017-02-17 19:31:21 -07:00
barisusakli
3bd1c6c2b5 notification tests 2016-12-15 16:08:32 +03:00
barisusakli
2a97e5478f fix pushGroups test 2016-11-18 12:10:22 +03:00
barisusakli
f1a933210b notifications.pushGroups 2016-11-18 11:15:27 +03:00
Ben Lubar
e151916f1a Fix followed topic notifications going to the last unread post
Regression introduced in 1b34ebe230.

Bug originally reported in #4469.
2016-11-10 17:55:50 -06:00
barisusakli
4a0f67afdc search tests
new method emptydb
use emptydb instead of flushdb, flushdb  removes indices for mongo which
breaks search tests
initialize meta.config properly in tests
enable nodebb-plugin-dbsearch for tests
2016-10-17 23:34:14 +03:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
barisusakli
6c634b0689 fix tabs 2016-10-11 16:11:44 +03:00
barisusakli
038418bf87 batch.processArray
use batch.processArray in notifications.push and moveRecentReplies
added notification tests
added test for moveRecentReplies
clear group cache if a group is deleted
2016-10-11 16:06:47 +03:00