Commit Graph

197 Commits (d171f4049d5c037b3eff219b73307b890c0268bd)

Author SHA1 Message Date
barisusakli ee820341d5 fix incrObjectFieldBy test
barisusakli 74a3977d42 decrObjectField, incrObjectFieldBy tests
barisusakli e6244c547a fix isObjectField test
barisusakli 9af3007f3d fix copy paste fails
barisusakli 4d5ed784a1 more hash tests
getObjectValues
isObjectField
deleteObjectField
incrObjectField
barisusakli 13cd2e41bb fix assert
barisusakli ebbb1bac26 more hash tests
getObjectField
getObjectFields
getObjectsFields
getObjectKeys
barisusakli 81b32fc095 missing comma
barisusakli a6c75eea88 hash tests
barisusakli 1e6f5d822d setRemove tests
barisusakli adae2bd13e fix copy paste fail
barisusakli 818182bc00 setCount setsCount tests
barisusakli 4590fe6155 isMemberOfSets test
barisusakli a529c3b179 fix typo
barisusakli 7f933bc747 more set tests
barisusakli 3efc49dd72 set tests
barisusakli def5d23744 missing done
barisusakli 633cef6dd7 listTrim fix
barisusakli c62e7ed641 list test fix
barisusakli 9750a36dee fix get range
barisusakli 3e8c29e5f9 list tests
barisusakli 410d9fa4fa fix more tests
barisusakli b6639403fe fix set test
barisusakli f4d1fbc4e3 fix mock require
barisusakli 102819426c require key tests
barisusakli bf54859a27 key tests
psychobunny 6a47aacdfd forgot description
psychobunny 6a9145d90e some basic moderator tests
barisusakli ae1d226218 fix group test
Julian Lam c120f5c2c6 travis CI again
barisusakli 48ee8c1370 check err in tests
barisusakli fc0dce429b topic.reply checks with invalid parameters
barisusakli 834ca016ec topics.reply test
barisusakli 964d531582 fix test really
barisusakli 385e034a23 fix tests
barisusakli 4e23fe7c3a more topic post tests
barisusakli 3029b19be6 fix test
barisusakli fa5ac04cd3 src/topics.js cleanup
Julian Lam a12907512f refactored a bunch of methods so that you can pass in an author argument in querystring to see posts by just that author,
Julian Lam 9a8fa35d8d flushing db after every test group that touches the db
Julian Lam b91d39a0d3 almost everything for
Julian Lam 28f87cc776 added tests for messaging method .canMessage
Julian Lam a992638ef3 removed level from testmock error msg
psychobunny 396fecb94a removing an old comment
psychobunny 9b17ec9f26 updating database mock for core templates
psychobunny bd4ab2a24c moving database mock into tests folder
barisusakli 84d0e64361 fix topic move
barisusakli 3829019bfa removed optional params
Julian Lam 7afe3bea59 added getSortedSetRevUnion... just because.
Julian Lam 6e597a9cdb fixed tests, and added getSortedSetUnion method to redis db, added test for new redis method
psychobunny e5486db1ae Merge branch 'code-quality' of https://github.com/miksago/NodeBB into miksago-code-quality
Conflicts:
	src/database.js
barisusakli 828fd6b978 fixed sortedSetRevRangeByScore test
psychobunny 136542f8dd Merge remote-tracking branch 'origin/master' into LevelDB
Conflicts:
	tests/database.js
psychobunny 4892fc81a2 added to database tests
barisusakli 9d405812cb changed sortedSetRangeByScore
Micheil Smith 3e82cab398 Add missing new lines at end of files.
psychobunny 129019777f move work on LevelDB
psychobunny e79284e75f LevelDB init
barisusakli a345302454 really fixed test
barisusakli b731d6af3b fixed topic test
Julian Lam d1a64798b9 removing use of slugs in groups... pending having more time
Julian Lam 49a686af78 fixing groups tests
barisusakli 7a6f7d3e49 fixed 2 tests
Julian Lam 1cc15a71d6 resolved
Julian Lam 6afd0fd9de added two failing tests for
Julian Lam 14b9c03199 First pass at - Groups.search() + Tests
Julian Lam 4701eb1cee updating groups so that members leave a group when it is deleted
Julian Lam 4206c17da3 rounding out tests for groups
Julian Lam 1dcac09e53 OMG TESTS
Baris Soner Usakli 4986c8ed3a fixed tests
Baris Soner Usakli ea6cf3bbd5 more cleanup and changes to topics
akhoury 25207852e8 added topics thumbnails support
Baris Soner Usakli 25442a89ca closes
Baris Soner Usakli 1084523c92 lots of pagination work, query params, ajaxify to pids
Barış Soner Uşaklı c91ae0c4c4 Update categories.js
Baris Soner Usakli 6da12d1a39 and for andrew
Aziz Khoury f74f01ca77 Changed User.create signature to accept a hash, added a couple of utility functions as well
Baris Soner Usakli c0712583f2 fixed category sockets
Baris Usakli 2b7e4cbdf4 moved tests from debug to tests folder
Baris Usakli 0da141e7bc removed redismock, added database mocked, fixed tests to work with dbal
Baris Soner Usakli 53a7eab3e8 removed couple RDB.multis
Baris Usakli 541993c80a fontawesome 4 migration, closes
Denis Wolf 7c3fa30c13 tests: topic.js: fixed description to mirror code, refactored asserts since mocha's 'done' can process errors in callback
Denis Wolf cbbb7a7c8e tests: topic.js: extract mock data init in getters
Denis Wolf 6893bd8b04 tests: topic.js: extract mock data init in .post
Denis Wolf 22eabf6620 tests: topic.js: naming flow fix for .post
Baris Usakli 54d94f5988 added topic tests
Denis Wolf 05de4870b0 user: add spec
Denis Wolf 8ff656430d tests: check if we are able to use test db wrapper at all
Denis Wolf ef5548a749 tests: categories.js is using testing db now
Denis Wolf 02e2b53a1d TESTS: Utils.js: tests for validations, uuid generation
Denis Wolf babe9b6f54 valid jshint config with globals for tests only
Noah Chase 5945ab1a0a relax username validation ()
this commit allows for matching accented characters, dots, '@' symbol,
and other important things.
Julian Lam 67dbdfd80d fixed test cases to not throw redis error due to Reds
Noah Chase 83477ece18 category tests should be able to use whatever the app defines as config options
Julian Lam e91da53d9e using reduce to run filter hooks instead of eachSeries, and fixed up
incorrect usage of .apply() in tests folder
Julian Lam 13d8f51f6a added test file for categories (incomplete)
re: issue