fix: null-safe json_decode in RedisDriver; add getSessionModel test to MultiDriverTest

This commit is contained in:
Joel Male
2026-05-27 21:01:34 +10:00
parent 83aa9a1431
commit 71213d51f5
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -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();
});
});