Giter Site home page Giter Site logo

Comments (4)

ZacharyDuBois avatar ZacharyDuBois commented on September 23, 2024

So, this looks like it is going to be some problem within your application code. Not Laravel. Laravel 11 is a breaking upgrade. Please ensure you follow the upgrade guide here. There were a lot of DB related changes.

from framework.

ErwinLiemburg avatar ErwinLiemburg commented on September 23, 2024

@ZacharyDuBois Yes, as mentioned I followed the upgrade guide. I will try to do some debugging to find out what is going on to see if it is in my application code.

from framework.

ErwinLiemburg avatar ErwinLiemburg commented on September 23, 2024

Did some debugging. Looks like the issue occurd when the parent::SetUp() function (in AuthorisationTest.php) is executed. Within that function it tries to refresh the test database. It tries to do a delete delete from sqlite_master where type in ('table', 'index', 'trigger')), but for some reason it crashes. Looks like the sqlite_master table may not be modified.

Look like it's not from the application code, but Laravel code. It could be that I missed something in the upgrade guide, but I'm not sure what I missed.

Screenshot 2024-03-27 at 19 13 46

from framework.

crynobone avatar crynobone commented on September 23, 2024

If you're resetting database between tests you should be using DatabaseMigrations trait instead of RefreshDatabase.

from framework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.