Skip to content

Commit c70f52f

Browse files
committed
Merge branch '5.7' into 5.8
2 parents 27164a6 + 74e6c48 commit c70f52f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/Cache/CacheRepositoryTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,11 @@ public function testHasMethod()
6666
$repo = $this->getRepository();
6767
$repo->getStore()->shouldReceive('get')->once()->with('foo')->andReturn(null);
6868
$repo->getStore()->shouldReceive('get')->once()->with('bar')->andReturn('bar');
69+
$repo->getStore()->shouldReceive('get')->once()->with('baz')->andReturn(false);
6970

7071
$this->assertTrue($repo->has('bar'));
7172
$this->assertFalse($repo->has('foo'));
73+
$this->assertTrue($repo->has('baz'));
7274
}
7375

7476
public function testMissingMethod()

0 commit comments

Comments
 (0)