Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

cevizmx's avatar
Level 17

Cypress migrate missing Cashier migrations

Hey there,

I have released my stripe tests are failing with Cypress, looks like the cy.refreshDatabase() somehow not running the Cashier migrations, therefore I was missing 3 migrations.

When I run the artisan migrate:fresh on my terminal, it includes the migrations from the Cashier package. It is strange as they run the same command in the end...

I sorted the issue by running php artisan vendor:publish --tag="cashier-migrations" which placed the migration in my database/migrations folder. Normally, I would not need to do this but, well.. it's a workaround.

Wanted to drop it here just in case someone needs it.

0 likes
0 replies

Please or to participate in this conversation.