mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Fixes deprecations on user routes
This commit is contained in:
@@ -20,8 +20,7 @@ test("unreadTotal default", function() {
|
||||
test("unreadTotal with values", function() {
|
||||
var controller = this.subject({
|
||||
currentUser: Discourse.User.create(),
|
||||
unreadTopics: 1,
|
||||
newTopics: 3
|
||||
model: { unreadTopics: 1, newTopics: 3 }
|
||||
});
|
||||
equal(controller.get('unreadTotal'), 4);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user