Skip to content

A platform for community discussion. Free, open, simple.

Fix the build.

Guo Xiang Tan0b47ef6e8652
diff --git a/test/javascripts/acceptance/user-test.js.es6 b/test/javascripts/acceptance/user-test.js.es6
index 253f126bb57..ad6aeaab42a 100644
--- a/test/javascripts/acceptance/user-test.js.es6
+++ b/test/javascripts/acceptance/user-test.js.es6
@@ -16,13 +16,11 @@ QUnit.test("Notifications", async assert => {
await visit("/u/eviltrout/notifications");
assert.ok($("body.user-notifications-page").length, "has the body class");
- await visit("/u/test/notifications");
-
const $links = find(".item.notification a");
assert.ok(
$links[1].href.includes(
- "/u/test/notifications/likes-received?acting_username=aquaman"
+ "/u/eviltrout/notifications/likes-received?acting_username=aquaman"
)
);
});
diff --git a/test/javascripts/helpers/create-pretender.js.es6 b/test/javascripts/helpers/create-pretender.js.es6
index d4e34d5df3f..02f84cab4c2 100644
--- a/test/javascripts/helpers/create-pretender.js.es6
+++ b/test/javascripts/helpers/create-pretender.js.es6
@@ -79,12 +79,6 @@ export default function() {
return response(json);
});
- this.get("/u/test.json", () => {
- const json = fixturesByUrl["/u/eviltrout.json"];
- json.user.username = "test";
- return response(json);
- });
-
this.get("/u/eviltrout/summary.json", () => {
return response({
user_summary: {