@@ -13,8 +13,8 @@ public function testMemcachedCanStoreAndRetrieveTaggedCacheItems()
13
13
{
14
14
$ store = Cache::store ('memcached ' );
15
15
16
- $ store ->tags (['people ' , 'artists ' ])->put ('John ' , 'foo ' , 1 );
17
- $ store ->tags (['people ' , 'authors ' ])->put ('Anne ' , 'bar ' , 1 );
16
+ $ store ->tags (['people ' , 'artists ' ])->put ('John ' , 'foo ' , 2 );
17
+ $ store ->tags (['people ' , 'authors ' ])->put ('Anne ' , 'bar ' , 2 );
18
18
19
19
$ this ->assertSame ('foo ' , $ store ->tags (['people ' , 'artists ' ])->get ('John ' ));
20
20
$ this ->assertSame ('bar ' , $ store ->tags (['people ' , 'authors ' ])->get ('Anne ' ));
@@ -36,7 +36,7 @@ public function testMemcachedCanStoreManyTaggedCacheItems()
36
36
{
37
37
$ store = Cache::store ('memcached ' );
38
38
39
- $ store ->tags (['people ' , 'artists ' ])->putMany (['John ' => 'foo ' , 'Jane ' => 'bar ' ], 1 );
39
+ $ store ->tags (['people ' , 'artists ' ])->putMany (['John ' => 'foo ' , 'Jane ' => 'bar ' ], 2 );
40
40
41
41
$ this ->assertSame ('foo ' , $ store ->tags (['people ' , 'artists ' ])->get ('John ' ));
42
42
$ this ->assertSame ('bar ' , $ store ->tags (['people ' , 'artists ' ])->get ('Jane ' ));
0 commit comments