Skip to content

Commit

Permalink
DEV: add leading slash to visit in test (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
renato authored Nov 23, 2023
1 parent e468cf8 commit 840caa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/javascripts/acceptance/param-input-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ acceptance("Data Explorer Plugin | Param Input", function (needs) {
});

test("it loads the page if one of the parameter is null", async function (assert) {
await visit('admin/plugins/explorer?id=-7&params={"user":null}');
await visit('/admin/plugins/explorer?id=-7&params={"user":null}');
assert.ok(exists(".query-params .user-chooser"));
assert.ok(exists(".query-run .btn.btn-primary"));
});
Expand Down

0 comments on commit 840caa3

Please sign in to comment.