Skip to content

Commit

Permalink
Separate chain calls (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
sankaest committed Jun 2, 2022
1 parent b67c906 commit 1270bcd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/MemcachedTest.php
Expand Up @@ -242,7 +242,8 @@ public function testExpire(): void
$cache = $this->createCacheInstance();
$memcached = $this->createPartialMock(\Memcached::class, ['set']);

$memcached->expects($this->once())
$memcached
->expects($this->once())
->method('set')
->with($this->equalTo('key'), $this->equalTo('value'), $this->equalTo($ttl))
->willReturn(true);
Expand Down

0 comments on commit 1270bcd

Please sign in to comment.