Closed SupianIDz closed 1 year ago
https://github.com/orchestral/testbench-core/commit/5cc96a43478e0178b4adc4ed90314dd2c54eb9a0
Unable to reproduce, our GitHub Action also being tested using package:test
and package:test --parallel
without issue.
Hi @crynobone
could you take a look reproduction of the repository? I tried in 3 different environments + github action but got the same error.
github action workflow : https://github.com/SupianIDz/testbench-test/blob/main/.github/workflows/testbench.yml github action result : https://github.com/SupianIDz/testbench-test/actions/runs/6271550982/job/17031352888
could you take a look reproduction of the repository? I tried in 3 different environments + github action but got the same error.
You can try submit a failing test to https://github.com/orchestral/testbench-core
I think this is enough: https://github.com/orchestral/testbench-core/commit/b9fc730788b42b37812454e915fd515ca9f7b43f
but I am very confused about this problem, it can be seen from the reproduction of the repo, everything is very minimal but the error still occurs.
https://github.com/SupianIDz/testbench-test/blob/main/tests/FooBarTest.php#L14
Description:
when running
./vendor/bin/phpunit
directly all tests work correctly, but when testing with the command./vendor/bin/testbench package:test
it showsNo application encryption key has been specified.
This occurs when the
encrypt
function is usedI tried
dd($_ENV)
in testing, it seems the./vendor/bin/testbench package:test
command doesn't load the env defined inphpunit.xml
./vendor/bin/phpunit
./vendor/bin/testbench package:test
Steps To Reproduce: