less noise in JS specs

This commit is contained in:
Régis Hanol 2015-04-16 10:15:06 +02:00
parent 4387e05162
commit 295eebddc3
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ QUnit.testStart(function(ctx) {
// Allow our tests to change site settings and have them reset before the next test // Allow our tests to change site settings and have them reset before the next test
Discourse.SiteSettings = jQuery.extend(true, {}, Discourse.SiteSettingsOriginal); Discourse.SiteSettings = jQuery.extend(true, {}, Discourse.SiteSettingsOriginal);
Discourse.BaseUri = "/"; Discourse.BaseUri = "/";
Discourse.BaseUrl = ""; Discourse.BaseUrl = "localhost";
Discourse.User.resetCurrent(); Discourse.User.resetCurrent();
Discourse.Site.resetCurrent(Discourse.Site.create(fixtures['site.json'].site)); Discourse.Site.resetCurrent(Discourse.Site.create(fixtures['site.json'].site));
PreloadStore.reset(); PreloadStore.reset();