You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then I created a test inherits my TestCase, my expectation was that my service provider and facade should be available in my test. But it's not, so I have to use getPackageProviders and getPackageAliases methods.
Am I wrong that the auto-discovery function option should process the settings from the extra node while Laravel bootstrapping?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there!
Please, correct me where I'm wrong.
In my
composer.json
I have these settings:In my TestCase.php I've set:
Then I created a test inherits my TestCase, my expectation was that my service provider and facade should be available in my test. But it's not, so I have to use
getPackageProviders
andgetPackageAliases
methods.Am I wrong that the auto-discovery function option should process the settings from the
extra
node while Laravel bootstrapping?Beta Was this translation helpful? Give feedback.
All reactions