mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Fixes issues with composer
This commit is contained in:
parent
14fa033288
commit
ed398e65e0
16 changed files with 121 additions and 55 deletions
|
@ -70,6 +70,8 @@ function acceptance(name, options) {
|
|||
if (options && options.teardown) {
|
||||
options.teardown.call(this);
|
||||
}
|
||||
Discourse.User.resetCurrent();
|
||||
Discourse.Site.resetCurrent(Discourse.Site.create(fixtures['site.json'].site));
|
||||
|
||||
Discourse.Utilities.avatarImg = oldAvatar;
|
||||
Discourse.reset();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue