From 884a0ebbc5728c87ea49e25832dfdea62e58e84f Mon Sep 17 00:00:00 2001 From: dharini Date: Thu, 19 Aug 2021 14:19:03 -0700 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20update=20route?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/desktop/tests/acceptance/projects/targets-test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/desktop/tests/acceptance/projects/targets-test.js b/ui/desktop/tests/acceptance/projects/targets-test.js index b5b241788..bb253dd45 100644 --- a/ui/desktop/tests/acceptance/projects/targets-test.js +++ b/ui/desktop/tests/acceptance/projects/targets-test.js @@ -211,13 +211,13 @@ module('Acceptance | projects | targets', function (hooks) { test('cannot navigate to a target without proper authorization', async function (assert) { assert.expect(1); + instances.target.authorized_actions = + instances.target.authorized_actions.filter((item) => item !== 'read'); later(async () => { run.cancelTimers(); - instances.target.authorized_actions = - instances.target.authorized_actions.filter((item) => item !== 'read'); assert.notOk(find('main tbody .rose-table-header-cell:nth-child(1) a')); }, 750); - await visit(urls.target); + await visit(urls.targets); }); test('connecting to a target', async function (assert) {