mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
fix test run
This commit is contained in:
parent
7ee63f4da8
commit
3784b7f3d6
@ -236,7 +236,7 @@ steps:
|
|||||||
- cd api_tests/
|
- cd api_tests/
|
||||||
- pnpm i
|
- pnpm i
|
||||||
- pnpm api-test
|
- pnpm api-test
|
||||||
- pnpm api-test # run twice to ensure they don't create state
|
- pnpm api-test # run twice to ensure they don't depend on specific state
|
||||||
when: *slow_check_paths
|
when: *slow_check_paths
|
||||||
|
|
||||||
federation_tests_server_output:
|
federation_tests_server_output:
|
||||||
|
@ -66,7 +66,6 @@ test("Follow federated community", async () => {
|
|||||||
// check that unfollow was federated
|
// check that unfollow was federated
|
||||||
let communityOnBeta1 = await resolveBetaCommunity(beta);
|
let communityOnBeta1 = await resolveBetaCommunity(beta);
|
||||||
expect(communityOnBeta1.community?.counts.subscribers).toBe(betaCommunityInitial.counts.subscribers + 1);
|
expect(communityOnBeta1.community?.counts.subscribers).toBe(betaCommunityInitial.counts.subscribers + 1);
|
||||||
expect(communityOnBeta1.community?.counts.subscribers_local).toBe(betaCommunityInitial.counts.subscribers_local);
|
|
||||||
|
|
||||||
// Check it from local
|
// Check it from local
|
||||||
let site = await getSite(alpha);
|
let site = await getSite(alpha);
|
||||||
|
Loading…
Reference in New Issue
Block a user