From a80c024442d3620045afb7e33df70901886b9a6d Mon Sep 17 00:00:00 2001 From: dkmyta Date: Mon, 20 Jan 2025 15:39:40 -0800 Subject: [PATCH] Revert tests dir changes in favour of a dedicated task --- .../tests/action-test-coverage.sh | 9 -------- .../tests/php/integration/bootstrap.php | 16 -------------- .../tests/php/integration/phpunit.xml.dist | 21 ------------------- .../tests/php/unit/bootstrap.php | 11 ---------- .../tests/php/unit/phpunit.xml.dist | 21 ------------------- 5 files changed, 78 deletions(-) delete mode 100755 projects/packages/account-protection/tests/action-test-coverage.sh delete mode 100644 projects/packages/account-protection/tests/php/integration/bootstrap.php delete mode 100644 projects/packages/account-protection/tests/php/integration/phpunit.xml.dist delete mode 100644 projects/packages/account-protection/tests/php/unit/bootstrap.php delete mode 100644 projects/packages/account-protection/tests/php/unit/phpunit.xml.dist diff --git a/projects/packages/account-protection/tests/action-test-coverage.sh b/projects/packages/account-protection/tests/action-test-coverage.sh deleted file mode 100755 index 8a7a1e9de6565..0000000000000 --- a/projects/packages/account-protection/tests/action-test-coverage.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -set -veo pipefail - -EXIT=0 -php -dpcov.directory=. ./vendor/bin/phpunit --coverage-php "$COVERAGE_DIR/integration/php.cov" --configuration tests/php/integration/phpunit.xml.dist || EXIT=1 -php -dpcov.directory=. ./vendor/bin/phpunit --coverage-php "$COVERAGE_DIR/unit/php.cov" --configuration tests/php/unit/phpunit.xml.dist || EXIT=1 - -exit $EXIT diff --git a/projects/packages/account-protection/tests/php/integration/bootstrap.php b/projects/packages/account-protection/tests/php/integration/bootstrap.php deleted file mode 100644 index 4c1205f352a1d..0000000000000 --- a/projects/packages/account-protection/tests/php/integration/bootstrap.php +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - ../../../src - - - - - . - - - diff --git a/projects/packages/account-protection/tests/php/unit/bootstrap.php b/projects/packages/account-protection/tests/php/unit/bootstrap.php deleted file mode 100644 index e16bad0ecf0bf..0000000000000 --- a/projects/packages/account-protection/tests/php/unit/bootstrap.php +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - ../../../src - - - - - . - - -