Remove renderer url (#3194)
* feat: 🎸 Refactor how we store cluster URL
This commit is contained in:
1 parent
3d257afd49
commit
7dadc53fe1
26 files changed
+139
-217
No files matched your search
@@ -35,12 +35,6 @@ module(
|
||||
targets: null,
|
||||
};
|
||||
|
||||
const setDefaultClusterUrl = (test) => {
|
||||
const windowOrigin = window.location.origin;
|
||||
const clusterUrl = test.owner.lookup('service:clusterUrl');
|
||||
clusterUrl.rendererClusterUrl = windowOrigin;
|
||||
};
|
||||
|
||||
hooks.beforeEach(async function () {
|
||||
controller = this.owner.lookup(
|
||||
'controller:scopes/scope/authenticate/method/index',
|
||||
@@ -58,7 +52,7 @@ module(
|
||||
|
||||
urls.targets = '/scopes/global/projects/targets';
|
||||
|
||||
setDefaultClusterUrl(this);
|
||||
window.desktop.cluster.getClusterUrl.resolves(window.location.origin);
|
||||
});
|
||||
|
||||
test('it exists', function (assert) {
|
||||
|
||||
Reference in new issue
Block a user