Issue while properly setting up Laravel Dusk in a laravel package #113
-
Description:I am not really sure if this is a bug, or if I am to dumb to set Dusk properly up in my new laravel package. The TestCase seeds a Page. This page is also in the database when checking right underneath. But in the executed PagesController the Page is not in the database, despite it uses the same file. Steps To Reproduce:
Additional pest issueNext to the SimplePageTest. There is a pest test case which also does not work and seems to be the same issue as #107 . |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Its actually the same with MySQL. I am really not sure what this issue can be |
Beta Was this translation helpful? Give feedback.
-
|
Ok, I found it! |
Beta Was this translation helpful? Give feedback.
Ok, I found it!
The
Refreshdatabasetrait starts automatically a transaction on the default database connection.Setting
protected $connectionsToTransact = [];solves the issue