mirror of
https://github.com/wearepixel/laravel-cart.git
synced 2026-11-14 22:01:48 +00:00
test: fix strict_types and test name in NullDriverTest
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Wearepixel\Cart\Drivers\NullDriver;
|
||||
|
||||
describe('NullDriver', function () {
|
||||
@@ -11,7 +13,7 @@
|
||||
expect($this->driver->getSessionKey())->toBe('test-session');
|
||||
});
|
||||
|
||||
test('returns null as driver name', function () {
|
||||
test('returns \'null\' as driver name', function () {
|
||||
expect($this->driver->getDriverName())->toBe('null');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user