We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf2b977 commit 1e57da9Copy full SHA for 1e57da9
tests/Integration/Database/DatabaseCacheStoreTest.php
@@ -200,6 +200,23 @@ public function testManyWithExpiredKeys()
200
$this->assertDatabaseMissing($this->getCacheTableName(), ['key' => $this->withCachePrefix('first')]);
201
}
202
203
+ public function testManyAsAssociativeArray()
204
+ {
205
+ $this->insertToCacheTable('first', 'cached', 60);
206
+
207
+ $result = $this->getStore()->many([
208
+ 'first' => 'aa',
209
+ 'second' => 'bb',
210
+ 'third',
211
+ ]);
212
213
+ $this->assertEquals([
214
+ 'first' => 'cached',
215
216
+ 'third' => null,
217
+ ], $result);
218
+ }
219
220
public function testPutMany()
221
{
222
$store = $this->getStore();
0 commit comments