From 33e36ff57abfe83d2e9086da111f172f6f50c5d1 Mon Sep 17 00:00:00 2001 From: Neil Kakkar Date: Wed, 17 Apr 2024 15:02:03 +0100 Subject: [PATCH] test foss test as well --- .github/actions/run-backend-tests/action.yml | 4 ---- posthog/api/test/test_feature_flag.py | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/actions/run-backend-tests/action.yml b/.github/actions/run-backend-tests/action.yml index 0eade99f04202..affd31f1b26bf 100644 --- a/.github/actions/run-backend-tests/action.yml +++ b/.github/actions/run-backend-tests/action.yml @@ -194,10 +194,6 @@ runs: if: failure() && (steps.run-foss-tests.outcome != 'failure' && steps.run-ee-tests.outcome != 'failure' && steps.run-decide-read-replica-tests.outcome != 'failure') shell: bash run: | - echo "Previous steps outcome: " - echo "FOSS tests: ${{ steps.run-foss-tests.outcome }}" - echo "EE tests: ${{ steps.run-ee-tests.outcome }}" - echo "Decide read replica tests: ${{ steps.run-decide-read-replica-tests.outcome }}" docker compose -f docker-compose.dev.yml logs - name: Upload updated timing data as artifacts diff --git a/posthog/api/test/test_feature_flag.py b/posthog/api/test/test_feature_flag.py index 770883a191490..e6b5b11a4c9b6 100644 --- a/posthog/api/test/test_feature_flag.py +++ b/posthog/api/test/test_feature_flag.py @@ -170,7 +170,7 @@ def test_is_simple_flag_groups(self, mock_capture): }, format="json", ).json() - self.assertFalse(feature_flag["is_simple_flag"]) + self.assertTrue(feature_flag["is_simple_flag"]) # Assert analytics are sent instance = FeatureFlag.objects.get(id=feature_flag["id"]) mock_capture.assert_called_once_with(