@@ -116,18 +116,16 @@ public function testPuttingMultipleItemsInCache()
116
116
117
117
public function testSettingMultipleItemsInCacheArray ()
118
118
{
119
- // Alias of PuttingMultiple
120
119
$ repo = $ this ->getRepository ();
121
120
$ 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 );
123
122
}
124
123
125
124
public function testSettingMultipleItemsInCacheIterator ()
126
125
{
127
- // Alias of PuttingMultiple
128
126
$ repo = $ this ->getRepository ();
129
127
$ 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 );
131
129
}
132
130
133
131
public function testPutWithDatetimeInPastOrZeroSecondsDoesntSaveItem ()
@@ -210,7 +208,7 @@ public function testSettingCache()
210
208
{
211
209
$ repo = $ this ->getRepository ();
212
210
$ repo ->getStore ()->shouldReceive ('put ' )->with ($ key = 'foo ' , $ value = 'bar ' , 1 );
213
- $ repo ->set ($ key , $ value , 1 );
211
+ $ repo ->set ($ key , $ value , 60 );
214
212
}
215
213
216
214
public function testClearingWholeCache ()
0 commit comments