how to run refreshdatabase with seed code?

you can use setUp() method that triggered before any test begins.

but don not forget to call the parent setup

public function setUp(): void

there is also tearDown() function that triggered after test ended

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top