Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.6] Make sure transaction won't be started twice for RefreshDatabase #23121

Closed
wants to merge 1 commit into from

Conversation

mnabialek
Copy link
Contributor

This should fix the issue introduced in #22596 with starting transaction twice for RefreshDatabase class.

@skollro and @a-komarev can you confirm this will fix the issue? I really don't like code duplication but maybe it should be moved to other trait

@antonkomarev
Copy link
Contributor

antonkomarev commented Feb 11, 2018

Hmmm... I've found that setUpTraits method isn't called at all. I suppose it's because I'm using Orchestra Test Bench and it's override default behavior.

@skollro are you using Orchestra too or issue appears for Laravel built-in TestCase?

@taylorotwell
Copy link
Member

Code formatting isn't quite right and we need a better explanation of the issue and fix. /cc @themsaid

Thanks!

@skollro
Copy link
Contributor

skollro commented Feb 11, 2018

Yeah, it would fix the issue I've explained in #22596 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants