Comments (4)
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.
@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.
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.
from framework.
If you're resetting database between tests you should be using DatabaseMigrations
trait instead of RefreshDatabase
.
from framework.
Related Issues (20)
- Unexpected newline behavior in blade template with echo followed by verbatim HOT 4
- Null Parameter Deprecation Notices HOT 1
- `Bus::dispatch()` cannot be used to queue closures HOT 1
- Throttle middleware with unnamed limiters behave weirdly HOT 5
- Escaped PHP code rendered instead of section contents in Blade template HOT 2
- Enable broadcasting after upgrade Laravel from 10.x to 11.x HOT 1
- Default connection is being changed unreliably in testing HOT 1
- The `Paginator` interface does not implement `through` method HOT 1
- Route file is broken when use a method to define return
- Maria DB before 10.5.2 rename nullable column fails HOT 5
- Container unable to resolve class in a Job class HOT 1
- /Support/Facades/Schedule.php failing pipeline HOT 1
- Pagination with SQL Server driver returns duplicate records on subsequent pages HOT 1
- Redirect guests is hard coded to route('login') HOT 4
- fruitcake/php-cors v13 needed but not match HOT 4
- Php artisan test "Option --configuration cannot be used more than once" HOT 3
- Run laravel in subfolder HOT 6
- Auth::user(), not working HOT 4
- N^2 models created when using EloquentFactory::createMany in conjunction with a count HOT 1
- Factory returns relationship fields when observer updates them HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from framework.