Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9a4d5c9 + 53de542 commit 3d9279eCopy full SHA for 3d9279e
1 file changed
tests/Cache/CacheTaggedCacheTest.php
@@ -44,6 +44,23 @@ public function testCacheSavedWithMultipleTagsCanBeFlushed()
44
}
45
46
47
+ public function testTagsWithStringArgument()
48
+ {
49
+ $store = new ArrayStore;
50
+ $store->tags('bop')->put('foo', 'bar', 10);
51
+ $this->assertEquals('bar', $store->tags('bop')->get('foo'));
52
+ }
53
+
54
55
+ public function testTagsCacheForever()
56
57
58
+ $tags = array('bop', 'zap');
59
+ $store->tags($tags)->forever('foo', 'bar');
60
+ $this->assertEquals('bar', $store->tags($tags)->get('foo'));
61
62
63
64
public function testRedisCacheTagsPushForeverKeysCorrectly()
65
{
66
$store = m::mock('Illuminate\Cache\StoreInterface');
0 commit comments