Skip to content

Unable to upgrade to v3 as all tests fail due to database name #33

Closed
@Sammyjo20

Description

@Sammyjo20

Subject of the issue

Hi... me again 😆

I was trying to upgrade to v3 and when running all tests in parallel we're getting a weird issue:

Screenshot 2024-02-27 at 15 32 34

It looks like the name of the database is being changed and is causing every test to fail in our application. Switching back down to v2 works.

Your environment

We're running Laravel 10 and PHP 8.1

Steps to reproduce

Tell us how to reproduce this issue in steps:

  1. Upgrade to v3
  2. Run parallel tests (with RefreshDatabase trait)

Expected behaviour

Run tests

Actual behaviour

As above

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions