Skip to content

Conversation

@AndrewKostka
Copy link
Contributor

@AndrewKostka AndrewKostka commented Jan 15, 2026

Bug: T410856

use Illuminate\Foundation\Testing\RefreshDatabase;

class WikiUserEmailCheckerTest extends TestCase {
use RefreshDatabase;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is RefreshDatabase actually used? the test creates and delete databases using PDO.

Copy link
Contributor

@rosalieper rosalieper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I suggest removing the RefreshDatabase as the db effects are not handled by laravel eloquent models, this can be confusing.
I am happy with this moving foward in any case.

Base automatically changed from T410856 to main January 16, 2026 09:33
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.

3 participants