mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
FIX: Allow Discourse.Session.current()
API to update to 0
This commit is contained in:
@ -13,6 +13,8 @@ test('current', function(){
|
||||
Discourse.Session.current('orange', 'juice');
|
||||
equal(session.get('orange'), "juice", "it can be updated");
|
||||
|
||||
Discourse.Session.current('zero', 0);
|
||||
equal(session.get('zero'), 0);
|
||||
});
|
||||
|
||||
test('highestSeenByTopic', function() {
|
||||
|
Reference in New Issue
Block a user