diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index b326515..f4735fa 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -45,6 +45,13 @@ jobs: - name: Execute tests run: vendor/bin/pest + env: + POSTFINANCE_B2B_USERNAME: ${{ secrets.POSTFINANCE_B2B_USERNAME }} + POSTFINANCE_B2B_PASSWORD: ${{ secrets.POSTFINANCE_B2B_PASSWORD }} + POSTFINANCE_B2B_WSDL: ${{ secrets.POSTFINANCE_B2B_WSDL }} + POSTFINANCE_B2B_TESTS_PAYER_ID: ${{ secrets.POSTFINANCE_B2B_TESTS_PAYER_ID }} + POSTFINANCE_B2B_TESTS_BILLER_ID: ${{ secrets.POSTFINANCE_B2B_TESTS_BILLER_ID }} + POSTFINANCE_B2B_TESTS_TRANSACTION_ID: ${{ secrets.POSTFINANCE_B2B_TESTS_TRANSACTION_ID }} - name: Store Log Artifacts if: failure() diff --git a/.gitignore b/.gitignore index a510a25..58969c4 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ .php_cs.cache .php-cs-fixer.cache .phpunit.result.cache +.phpunit.cache/ .phpunit.cache .DS_STORE build diff --git a/.phpunit.cache/test-results b/.phpunit.cache/test-results deleted file mode 100644 index 4693da8..0000000 --- a/.phpunit.cache/test-results +++ /dev/null @@ -1 +0,0 @@ -{"version":"pest_2.36.0","defects":[],"times":{"P\\Tests\\Feature\\GetInvoicePayerTest::__pest_evaluable_it_b2b_service_getInvoicePayer_test":0.057,"P\\Tests\\Feature\\GetInvoiceListPayerTest::__pest_evaluable_it_b2b_service_getInvoiceListPayer_test":0.24,"P\\Tests\\Feature\\PingTest::__pest_evaluable_it_b2b_service_executePing_test":0.169}} \ No newline at end of file diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 1470e18..0b590da 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -16,8 +16,7 @@ - - +