From bffafdcd33d7515eca0ef09d4002ae40ef87c8e9 Mon Sep 17 00:00:00 2001 From: Rodrigo Primo Date: Thu, 3 Nov 2022 12:00:21 -0300 Subject: [PATCH] Revert "Add WooCommerce Subscriptions tests to $allowedToSkipList list" This reverts commit 6b4d2409cc7f3551e70bd1999f70adabf61add36. --- mailpoet/tests/_support/CheckSkippedTestsExtension.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/mailpoet/tests/_support/CheckSkippedTestsExtension.php b/mailpoet/tests/_support/CheckSkippedTestsExtension.php index c252f4e931..28148a44b8 100644 --- a/mailpoet/tests/_support/CheckSkippedTestsExtension.php +++ b/mailpoet/tests/_support/CheckSkippedTestsExtension.php @@ -15,12 +15,7 @@ class CheckSkippedTestsExtension extends Extension { $testName = $event->getTest()->getMetadata()->getName(); // list of tests that are allowed to be skipped on trunk and release branches - $allowedToSkipList = [ - 'createSubscriptionSegmentForActiveSubscriptions', - 'testAllSubscribersFoundWithOperatorAny', - 'testAllSubscribersFoundWithOperatorNoneOf', - 'testAllSubscribersFoundWithOperatorAllOf', - ]; + $allowedToSkipList = ['createSubscriptionSegmentForActiveSubscriptions']; if (in_array($branch, ['trunk', 'release']) && !in_array($testName, $allowedToSkipList)) { throw new \PHPUnit\Framework\ExpectationFailedException("Failed, cannot skip tests on branch $branch.");