FIX: Change bookmarks-with-reminders URL back to bookmarks for user activity (#9566)

* Bookmarks with reminders is a core feature now, no need to have a separate URL
* Keep around the old /u/:username/activity/bookmarks-with-reminders route for backwards compat in Ember but just redirect to user activity bookmarks.
This commit is contained in:
Martin Brennan
2020-04-29 10:53:37 +10:00
committed by GitHub
parent 17ca47af1a
commit 6cf31f16f7
11 changed files with 32 additions and 42 deletions

View File

@@ -15,13 +15,13 @@ acceptance("User's bookmarks", {
});
test("listing user bookmarks", async assert => {
await visit("/u/eviltrout/activity/bookmarks-with-reminders");
await visit("/u/eviltrout/activity/bookmarks");
assert.ok(find(".bookmark-list-item").length);
});
test("removing a bookmark", async assert => {
await visit("/u/eviltrout/activity/bookmarks-with-reminders");
await visit("/u/eviltrout/activity/bookmarks");
const dropdown = selectKit(".bookmark-actions-dropdown");
await dropdown.expand();
@@ -44,7 +44,7 @@ test("listing users bookmarks - no bookmarks", async assert => {
}
]);
await visit("/u/eviltrout/activity/bookmarks-with-reminders");
await visit("/u/eviltrout/activity/bookmarks");
assert.equal(find(".alert.alert-info").text(), "no bookmarks");
});