summaryrefslogtreecommitdiffstats
path: root/ui/src/api_tests
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2020-04-30 11:45:12 -0400
committerDessalines <tyhou13@gmx.com>2020-04-30 11:45:12 -0400
commit38cdfdf7e0ee1db1e315c150a1b375f9245a95db (patch)
tree83abb732e3ed162dae634009ce43e064b97299a8 /ui/src/api_tests
parentee4f923f60fc732f9d57cebbeeb6879479886291 (diff)
Changing federated community and user links and searching.
- Search: !community@instance, @user@instance - Representation: community@instance, user@instance
Diffstat (limited to 'ui/src/api_tests')
-rw-r--r--ui/src/api_tests/api.spec.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/api_tests/api.spec.ts b/ui/src/api_tests/api.spec.ts
index 7a810d9a..7121d038 100644
--- a/ui/src/api_tests/api.spec.ts
+++ b/ui/src/api_tests/api.spec.ts
@@ -96,7 +96,7 @@ describe('main', () => {
test('/u/lemmy_alpha follows and accepts lemmy_beta/c/main', async () => {
// Make sure lemmy_beta/c/main is cached on lemmy_alpha
// Use short-hand search url
- let searchUrl = `${lemmyAlphaApiUrl}/search?q=/c/main@lemmy_beta:8550&type_=All&sort=TopAll`;
+ let searchUrl = `${lemmyAlphaApiUrl}/search?q=!main@lemmy_beta:8550&type_=All&sort=TopAll`;
let searchResponse: SearchResponse = await fetch(searchUrl, {
method: 'GET',