mirror of
https://github.com/wearepixel/laravel-cart.git
synced 2026-11-14 22:01:48 +00:00
fix: null-safe json_decode in RedisDriver; add getSessionModel test to MultiDriverTest
This commit is contained in:
@@ -77,4 +77,8 @@
|
||||
test('throws when constructed with no drivers', function () {
|
||||
expect(fn() => new MultiDriver([]))->toThrow(InvalidArgumentException::class);
|
||||
});
|
||||
|
||||
test('getSessionModel delegates to primary driver', function () {
|
||||
expect($this->driver->getSessionModel())->toBeNull();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user