Shoudn't beforeApplicationDestroyedCallbacks be called on reverse order when tearing down tests? #37952
Unanswered
February30th
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I noticed today that laravel calls the teardown callbacks in the same order as they are declared, should't the callbacks be called in reverse order?
As it is if i am using the DatabaseMigrations trait and then add any callback that interacts with the database, the test fails because it can't find any table in the database.
Beta Was this translation helpful? Give feedback.
All reactions