]> Untitled Git - lemmy.git/blobdiff - api_tests/src/community.spec.ts
Revert "Add pending, and change use specific API response for FollowCommunity…" ...
[lemmy.git] / api_tests / src / community.spec.ts
index ba12de5c4b2199b98ab759ede8b29a3143162715..e1f6825ae8ab9fc369061b26309984d314b12572 100644 (file)
@@ -67,7 +67,7 @@ test('Delete community', async () => {
   );
 
   // Make sure the follow response went through
-  expect(follow.community_follower_view.community.local).toBe(false);
+  expect(follow.community_view.community.local).toBe(false);
 
   let deleteCommunityRes = await deleteCommunity(
     beta,
@@ -118,7 +118,7 @@ test('Remove community', async () => {
   );
 
   // Make sure the follow response went through
-  expect(follow.community_follower_view.community.local).toBe(false);
+  expect(follow.community_view.community.local).toBe(false);
 
   let removeCommunityRes = await removeCommunity(
     beta,