Commit graph

23 commits

Author SHA1 Message Date
Matteo Pagliazzi
54a9df4619 test(cron): setup failing test for changing cds to an hour past last cron 2015-01-07 16:52:04 +01:00
Brandon Reid
15eb64c7d2 Fixed cron dayStart option.
Wrote test cases to verify fix.
Fixed test cases that were incorrect.
2015-01-05 19:20:21 +01:00
Matteo Pagliazzi
0e266f917e fix(tests) 2014-12-30 11:43:25 +01:00
Blade Barringer
953302c008 Corrected type 2014-12-29 21:54:13 -06:00
Blade Barringer
5279a81033 Again, user needs to have hp = 0 for revive function to work correctly 2014-12-29 21:46:41 -06:00
Blade Barringer
a4d68431d4 User must have 0 HP for revive function to work 2014-12-29 21:40:35 -06:00
Blade Barringer
f9c5b3b0ae Updated quest test to only check on item drops if item drops exist (Basi
list was causing it to fail)
2014-12-29 21:23:30 -06:00
Alice Harris
27ef50fe26 fix typo in comment characters - sorry for commit spam 2014-12-27 07:28:05 +10:00
Alice Harris
ac233a2b04 update death "doesn't break unbreakables" test to match the new code behaviour 2014-12-27 07:28:05 +10:00
Blade Barringer
58df93fad4 Corrected ordering of moment().add and moment().subtract to remove
deprecation warnings in tests
2014-11-19 20:37:10 -06:00
Brandon Reid
d0cebce605 Fixed bug when calculating the reverse delta.
Added in a case for a todo with checklists
so the gp and exp for those are reversed correctly.
Added a couple test cases for checking then unchecking tasks.
2014-10-06 13:33:43 -06:00
Joby Walker
a2d851db23 Fix: OK for unpurchaseable quest to have no value
Changing test to only check that a quest has value if it is "canBuy=true".
This (with PR#262) should fix the last test error on habitrpg-shared.
2014-08-01 10:19:19 -07:00
deilann
996e7b243b fix(tests): add in freeRebirth 2014-06-22 14:10:25 -07:00
deilann
931525df0b fix(tests): add in freeRebirth
Really, I should fix this more systematically, but I think this should fix the tests for the moment, which is badly needed.
2014-06-22 14:00:59 -07:00
deilann
8e2f0a08e9 fix(tests): remove level 100 test
Keeps built from failing due to https://github.com/HabitRPG/habitrpg-shared/pull/203
2014-05-11 16:52:53 -07:00
Tyler Renelle
ef06a2a9c6 fix(tests): for i18n on quests 2014-05-11 16:18:56 -06:00
Tyler Renelle
6e94332b08 fix(tests): FIXME temporarily remove stats.mp checks from cron 2014-05-11 16:17:50 -06:00
Tyler Renelle
072b0ab005 fix(tests): temporary fix to some i18n issues in habitrpg-shared algo tests 2014-05-11 15:56:40 -06:00
Dušan Juretić
1a881c63d0 Fix Quests unit tests: allow gp and exp to be 0 2014-04-12 13:13:48 -03:00
Dušan Juretić
e5901bf0e0 Refactoring tests, added custom matchers for helpful error messages 2014-03-22 20:15:06 -03:00
Dušan Juretić
13a896e0af Tests for spell values checks more attributes 2014-03-05 22:59:56 -03:00
Sabe Jones
2d43314b83 fix(tests): Define contrib level for test user
Undefined "level" variable was causing algos unit test to fail on pull #155
2014-02-23 10:06:40 -06:00
Matteo Pagliazzi
a1ec40e77e chore(): update dependencies (not moment because we keep the same version as habitrpg), move tests from /tests to /test so that it correctly uses mocha.opts 2014-02-22 17:10:29 +01:00