mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
@@ -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");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user