Revert "test: Remove mock in failing origin test in desktop"

This reverts commit 83ab375829.
This commit is contained in:
Susmitha Girumala committed 2021-03-25 16:36:02 -04:00
1 parent 83ab375829
commit 28ec1008a0
1 file changed
+3 -6
+3 -6
View File
@@ -178,15 +178,12 @@ module('Acceptance | origin', function (hooks) {
});
test('can reset origin before authentication', async function (assert) {
assert.expect(3);
assert.expect(4);
assert.notOk(mockIPC.origin);
await visit(urls.origin);
await a11yAudit();
await fillIn('[name="host"]', window.location.origin);
await click('[type="submit"]');
assert.equal(
this.owner.lookup('controller:origin').origin,
window.location.origin
);
assert.equal(mockIPC.origin, window.location.origin);
assert.equal(currentURL(), urls.authenticate.methods.global);
await click('.change-origin a');
assert.equal(currentURL(), urls.origin);