From 3784b7f3d6fd2502b6bedf1646d158bbe752212c Mon Sep 17 00:00:00 2001 From: phiresky Date: Fri, 31 May 2024 11:34:38 +0200 Subject: [PATCH] fix test run --- .woodpecker.yml | 2 +- api_tests/src/follow.spec.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 46eb4c5d5..9300b7f42 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -236,7 +236,7 @@ steps: - cd api_tests/ - pnpm i - 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 federation_tests_server_output: diff --git a/api_tests/src/follow.spec.ts b/api_tests/src/follow.spec.ts index 5e7f70e70..031809113 100644 --- a/api_tests/src/follow.spec.ts +++ b/api_tests/src/follow.spec.ts @@ -66,7 +66,6 @@ test("Follow federated community", async () => { // check that unfollow was federated let communityOnBeta1 = await resolveBetaCommunity(beta); 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 let site = await getSite(alpha);