Skip to content

Commit 537463e

Browse files
authored
Update MultiCacheMacroTest.php
Update description of test
1 parent 49ed20f commit 537463e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Feature/MultiCacheMacroTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
use Illuminate\Support\Facades\Cache;
44

5-
it('throws exception if only keys are passed.', function () {
5+
it('gets existing items using only values as keys', function () {
66
Cache::put('foo', 'bar');
77
$result = Cache::rememberMany([
88
'foo',
@@ -52,4 +52,4 @@
5252
$result = Cache::rememberMany([], 30);
5353

5454
expect($result)->toBe([]);
55-
});
55+
});

0 commit comments

Comments
 (0)