Skip to content

Commit e6533b5

Browse files
Fix ProfileLoaderSpec test
1 parent 2f8358c commit e6533b5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

spec/PHPCR/Shell/Config/ProfileLoaderSpec.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,12 @@ public function it_is_initializable()
3333
$this->shouldHaveType('PHPCR\Shell\Config\ProfileLoader');
3434
}
3535

36-
public function it_should_list_profile_names()
37-
{
36+
public function it_should_list_profile_names(
37+
Filesystem $filesystem
38+
) {
39+
$filesystem->exists(Argument::any())
40+
->willReturn(true);
41+
3842
$this->getProfileNames()->shouldReturn([
3943
'one', 'two',
4044
]);

0 commit comments

Comments
 (0)