Revert "Add WooCommerce Subscriptions tests to $allowedToSkipList list"
This reverts commit 6b4d2409cc
.
This commit is contained in:
@@ -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.");
|
||||
|
Reference in New Issue
Block a user