DEV: Remove unnecessary test setup calls (#14940)

DEV: Remove unnecessary test setup calls (#14940)

setURLContainer() and setDefaultOwner() are already called in an application initializer at the beginning of each test.

diff --git a/app/assets/javascripts/discourse/tests/helpers/qunit-helpers.js b/app/assets/javascripts/discourse/tests/helpers/qunit-helpers.js
index 4f605fd..439751b 100644
--- a/app/assets/javascripts/discourse/tests/helpers/qunit-helpers.js
+++ b/app/assets/javascripts/discourse/tests/helpers/qunit-helpers.js
@@ -4,14 +4,14 @@ import {
   clearCache as clearOutletCache,
   resetExtraClasses,
 } from "discourse/lib/plugin-connectors";
-import { clearRewrites, setURLContainer } from "discourse/lib/url";
+import { clearRewrites } from "discourse/lib/url";
 import {
   currentSettings,
   mergeSettings,
 } from "discourse/tests/helpers/site-settings";
 import { forceMobile, resetMobile } from "discourse/lib/mobile";
 import { getApplication, getContext, settled } from "@ember/test-helpers";
-import { getOwner, setDefaultOwner } from "discourse-common/lib/get-owner";
+import { getOwner } from "discourse-common/lib/get-owner";
 import { later, run } from "@ember/runloop";
 import { moduleFor, setupApplicationTest } from "ember-qunit";
 import { Promise } from "rsvp";
@@ -251,8 +251,6 @@ export function acceptance(name, optionsOrCallback) {
         });
       }
 
-      setURLContainer(this.container);
-      setDefaultOwner(this.container);
       if (!this.owner) {
         this.owner = this.container;
       }
@@ -291,8 +289,6 @@ export function acceptance(name, optionsOrCallback) {
       clearNavItems();
       setTopicList(null);
       _clearSnapshots();
-      setURLContainer(null);
-      setDefaultOwner(null);
       cleanUpComposerUploadHandler();
       cleanUpComposerUploadProcessor();
       cleanUpComposerUploadMarkdownResolver();

GitHub sha: 67e38e81f7af530e04312126f5227e29057c3c0d

This commit appears in #14940 which was approved by jjaffeux. It was merged by CvX.