From bbe69cb6dc488e3e019287d2bf61d1378a84aecf Mon Sep 17 00:00:00 2001 From: Philipp Reisigl Date: Tue, 22 Aug 2023 19:16:20 +0200 Subject: [PATCH] remove var_dump from tests --- .github/workflows/unit-tests.yml | 2 +- tests/ExecutorTest.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index fd64838..0982cf9 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -17,7 +17,7 @@ jobs: php: ['8.0', '8.1', '8.2'] type: ['Phpunit'] env: - LOG_COVERAGE: "${{ fromJSON('{true: \"1\", false: \"\"}')[matrix.php == '8.0' && matrix.type == 'Phpunit' && (github.event_name == 'pull_request' || (github.event_name == 'push' && (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master')))] }}" + LOG_COVERAGE: "${{ fromJSON('{true: \"1\", false: \"\"}')[matrix.php == '8.0' && matrix.type == 'Phpunit' && (github.event_name == 'pull_request' || (github.event_name == 'push' && (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main')))] }}" steps: - name: Checkout uses: actions/checkout@v3 diff --git a/tests/ExecutorTest.php b/tests/ExecutorTest.php index 2cd2e5b..d324582 100644 --- a/tests/ExecutorTest.php +++ b/tests/ExecutorTest.php @@ -300,7 +300,6 @@ public function testRunHourly() 'minute_hourly' => (int)$testTime->format('i') ] ); - var_dump($scheduler1->get('minute_hourly')); $scheduler2 = $this->_getScheduler( $persistence, [