less noise in JS specs
This commit is contained in:
parent
4387e05162
commit
295eebddc3
|
@ -99,7 +99,7 @@ QUnit.testStart(function(ctx) {
|
|||
// Allow our tests to change site settings and have them reset before the next test
|
||||
Discourse.SiteSettings = jQuery.extend(true, {}, Discourse.SiteSettingsOriginal);
|
||||
Discourse.BaseUri = "/";
|
||||
Discourse.BaseUrl = "";
|
||||
Discourse.BaseUrl = "localhost";
|
||||
Discourse.User.resetCurrent();
|
||||
Discourse.Site.resetCurrent(Discourse.Site.create(fixtures['site.json'].site));
|
||||
PreloadStore.reset();
|
||||
|
|
Loading…
Reference in New Issue