mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 15:16:55 +08:00
Use sandbox.restore() to try improve bookmark-test
This commit is contained in:
@ -4,6 +4,10 @@ let BookmarkController;
|
||||
moduleFor("controller:bookmark", {
|
||||
beforeEach() {
|
||||
BookmarkController = this.subject({ currentUser: currentUser() });
|
||||
},
|
||||
|
||||
afterEach() {
|
||||
sandbox.restore();
|
||||
}
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user