Could Testbench load my service provider from the composer.json file? #421
christophrumpel
started this conversation in
Ideas
Replies: 1 comment
-
I only found this, but if I'm correct, this only applies to other packages I use? https://packages.tools/testbench/the-basic#package-auto-discovery |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The "Issue"
I was working on my package and writing tests. I added my package's service provider to my
TestCase
file usinggetPackageProviders
from Testbench. All tests were passing; all seemed good. But I hadn't added my service provider to mycomposer.json
file underextras
. So in real, the provider was not loaded in a Laravel application.Idea
Could Testbench check the composer.json file too?
Beta Was this translation helpful? Give feedback.
All reactions