Commit Graph

1498 Commits

Author SHA1 Message Date
barisusakli
c4772300f2 more utils tests 2016-10-26 17:47:36 +03:00
barisusakli
f56251d718 test feeds 2016-10-26 17:15:48 +03:00
barisusakli
d8a9df74d7 fix wrong error returns, more tests 2016-10-26 16:38:48 +03:00
barisusakli
553ee7dcdd more chat tests 2016-10-26 12:07:00 +03:00
Sergii Paryzhskyi
e515b791da Fix eslint rules (#5117)
* Fix semi linter rule

* Fix semi-spacing linter rule

* Fix no-undef-init linter rule

* Fix space-before-blocks linter rule
2016-10-25 15:34:47 -04:00
barisusakli
c8b5c181ff fix flag on redis
check if number is returned on tests
2016-10-25 19:14:56 +03:00
barisusakli
0d90279463 chat controller test 2016-10-25 17:56:37 +03:00
barisusakli
f0f3a86908 closes #5128
write more messaging tests
2016-10-18 20:45:31 +03:00
barisusakli
9131f9d8f6 controller tests 2016-10-18 15:32:34 +03:00
Barış Soner Uşaklı
c512a02c83 Merge pull request #5124 from yariplus/lexistuff
Add additional lexical dbal operations.
2016-10-18 12:17:02 +03:00
yariplus
af2122bdb9 fix lex tests maybe 2016-10-17 18:08:56 -04:00
barisusakli
cec3b650c3 category route test 2016-10-18 00:14:28 +03:00
barisusakli
f683a1fe62 added categories to search test 2016-10-17 23:54:06 +03: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
yariplus
e8823eab33 add db lexical tests 2016-10-17 14:22:50 -04:00
barisusakli
ba17f98c70 getPostSummaryByPids test 2016-10-16 23:48:35 +03:00
barisusakli
52a0430603 cleanup console.logs 2016-10-16 22:52:39 +03:00
barisusakli
13719fccfe testing on nodev6 2016-10-16 22:19:30 +03:00
barisusakli
1a63672e66 more test fixes 2016-10-16 21:51:42 +03:00
barisusakli
15d948894d fix typo 2016-10-16 18:06:53 +03:00
barisusakli
292055d322 show test db info before test 2016-10-16 18:03:22 +03:00
barisusakli
d1fb4909ba one more try catch for node5/6 2016-10-16 17:51:35 +03:00
barisusakli
4a8b3dcd4c fix eslint errors 2016-10-16 17:42:14 +03:00
barisusakli
817cd29f00 try require from root 2016-10-16 17:36:24 +03:00
barisusakli
12f366f4b4 more tests
register/login/logout tests
ability to test socket.io emits for logged in users
2016-10-16 16:43:42 +03:00
barisusakli
b8a3ca98cb added callback to webserver.listen
wait for webserver to be ready to run tests
added topic restore test
added test to load topic via controller
2016-10-16 06:55:12 +03:00
barisusakli
ae9b5654d3 set isPrimary and isCluster 2016-10-16 06:15:11 +03:00
barisusakli
e462fadd94 init express/webserver for tests 2016-10-16 06:03:09 +03:00
barisusakli
4847c9fb81 test for post.delete/restore/purge 2016-10-15 13:36:34 +03:00
barisusakli
e9a3acdac5 db.info test 2016-10-15 10:16:58 +03:00
barisusakli
bfcef27c47 plugin tests 2016-10-14 21:48:38 +03:00
barisusakli
85ca547423 update pagination test so it covers separators as well 2016-10-14 20:32:31 +03:00
barisusakli
1694876475 added test for pagination 2016-10-14 20:21:33 +03:00
barisusakli
acc7e160ef write test for cleanUpTag 2016-10-14 13:12:08 +03:00
barisusakli
dd077117a2 refactor user.updateProfile and write test 2016-10-14 11:51:33 +03:00
Peter Jaszkowiak
f519a36560 Fix #5112, translator now accepts keys with / (#5114) 2016-10-13 21:45:05 -04:00
Julian Lam
3272c0b98c linting 2016-10-13 16:01:26 -04:00
Julian Lam
45e412ed7c Merge branch 'master' of github.com:NodeBB/NodeBB 2016-10-13 14:45:23 -04:00
barisusakli
afaaa8ab88 add failing test case for #5112 2016-10-13 21:14:34 +03:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
HeeL
3fa1c1f927 Fix space-infix-ops linter rule 2016-10-13 11:42:29 +02:00
Peter Jaszkowiak
2ce33ba2b0 Fix #5102, translator made more safe (#5106) 2016-10-12 14:48:43 -04:00
barisusakli
59fb7d7eef failing tests for #5102 2016-10-12 11:28:59 +03: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
barisusakli
6f86621e30 closes #5096 2016-10-08 19:09:55 +03:00
barisusakli
76e0c6eb9c up timeout, password tests were failing 2016-10-06 15:33:42 +03:00
HeeL
4c6a75d85c Rename tests folder to test to follow standards 2016-09-28 10:01:37 +02:00