Commit Graph

65 Commits

Author SHA1 Message Date
barisusakli
eca850c4b1 nested reply improvements
on new post increase count and add nested reply if replies are expanded
on post purge reduce count and remove nested reply
2016-11-02 15:58:19 +03:00
barisusakli
64a662ce50 some upload tests 2016-11-01 17:33:24 +03:00
barisusakli
9fe89f590e more admin controller tests 2016-11-01 14:34:15 +03:00
barisusakli
980e3fc7f7 topic tests, pin/lock/move 2016-11-01 14:05:53 +03:00
barisusakli
a4dfe608e9 ban tests, user/info test 2016-11-01 13:02:12 +03:00
barisusakli
d5ec36f45a socket.io topic.post/reply tests 2016-10-31 23:19:56 +03:00
barisusakli
7a8de6169b admin controller tests 2016-10-31 13:52:26 +03:00
barisusakli
9db50a3eda fix getReplies test 2016-10-31 11:48:58 +03:00
Barış Soner Uşaklı
0c08e44a34 Merge pull request #5050 from BenLubar/replies-to-post
Add a sorted set for replies-to-this-post
2016-10-31 09:36:28 +02:00
yariplus
179b66d74a flag tests 2016-10-29 00:44:45 -04:00
Ben Lubar
661bdc8311 add test for posts.getReplies 2016-10-28 09:24:01 -05:00
Peter Jaszkowiak
2824ce5587 Translator modules (#5135)
* Translator modules

* Fix language not being passed on creation

* fix test failures
2016-10-27 12:00:40 -04:00
barisusakli
777914b762 more api tests 2016-10-27 13:30:50 +03:00
barisusakli
687cce6089 closes #5159 2016-10-27 13:00:22 +03:00
barisusakli
2d10490ca3 more plugin tests 2016-10-27 11:57:07 +03:00
barisusakli
fb83967a6d more route tests 2016-10-27 11:20:33 +03:00
barisusakli
c5d2dbb90f increase timeout for password test 2016-10-26 20:29:50 +03:00
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