mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
createWithMixins
is deprecated.
This commit is contained in:
@ -4,7 +4,7 @@ import SelectedPostsCount from 'discourse/mixins/selected-posts-count';
|
||||
import Topic from 'discourse/models/topic';
|
||||
|
||||
var buildTestObj = function(params) {
|
||||
return Ember.Object.createWithMixins(SelectedPostsCount, params || {});
|
||||
return Ember.Object.extend(SelectedPostsCount).create(params || {});
|
||||
};
|
||||
|
||||
test("without selectedPosts", function () {
|
||||
|
Reference in New Issue
Block a user