@@ -116,18 +116,16 @@ public function testPuttingMultipleItemsInCache()
116116
117117 public function testSettingMultipleItemsInCacheArray ()
118118 {
119- // Alias of PuttingMultiple
120119 $ repo = $ this ->getRepository ();
121120 $ repo ->getStore ()->shouldReceive ('putMany ' )->once ()->with (['foo ' => 'bar ' , 'bar ' => 'baz ' ], 1 );
122- $ repo ->setMultiple (['foo ' => 'bar ' , 'bar ' => 'baz ' ], 1 );
121+ $ repo ->setMultiple (['foo ' => 'bar ' , 'bar ' => 'baz ' ], 60 );
123122 }
124123
125124 public function testSettingMultipleItemsInCacheIterator ()
126125 {
127- // Alias of PuttingMultiple
128126 $ repo = $ this ->getRepository ();
129127 $ repo ->getStore ()->shouldReceive ('putMany ' )->once ()->with (['foo ' => 'bar ' , 'bar ' => 'baz ' ], 1 );
130- $ repo ->setMultiple (new ArrayIterator (['foo ' => 'bar ' , 'bar ' => 'baz ' ]), 1 );
128+ $ repo ->setMultiple (new ArrayIterator (['foo ' => 'bar ' , 'bar ' => 'baz ' ]), 60 );
131129 }
132130
133131 public function testPutWithDatetimeInPastOrZeroSecondsDoesntSaveItem ()
@@ -210,7 +208,7 @@ public function testSettingCache()
210208 {
211209 $ repo = $ this ->getRepository ();
212210 $ repo ->getStore ()->shouldReceive ('put ' )->with ($ key = 'foo ' , $ value = 'bar ' , 1 );
213- $ repo ->set ($ key , $ value , 1 );
211+ $ repo ->set ($ key , $ value , 60 );
214212 }
215213
216214 public function testClearingWholeCache ()
0 commit comments