Skip to content

Commit 34e4d76

Browse files
committed
Tests fixed
1 parent 247efb6 commit 34e4d76

File tree

7 files changed

+8
-232
lines changed

7 files changed

+8
-232
lines changed

spec/PHPCR/Shell/Config/ProfileLoaderSpec.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function it_should_save_a_given_profile(
7676
password: leech
7777
7878
EOT
79-
, '0600')->shouldBeCalled();
79+
, 0600)->shouldBeCalled();
8080
$this->saveProfile($profile);
8181
}
8282
}

spec/PHPCR/Shell/Console/Helper/ProfileHelperSpec.php

Lines changed: 0 additions & 33 deletions
This file was deleted.

spec/PHPCR/Shell/Console/Wizard/ConnectionWizardSpec.php

Lines changed: 0 additions & 64 deletions
This file was deleted.

spec/PHPCR/Shell/Console/Wizard/ProfileWizardSpec.php

Lines changed: 0 additions & 82 deletions
This file was deleted.

spec/PHPCR/Shell/Subscriber/AliasSubscriberSpec.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use PHPCR\Shell\Console\Helper\ConfigHelper;
88
use PHPCR\Shell\Console\Input\StringInput;
99
use PHPCR\Shell\Event\CommandPreRunEvent;
10+
use Symfony\Component\Console\Helper\HelperSet;
1011

1112
class AliasSubscriberSpec extends ObjectBehavior
1213
{
@@ -16,10 +17,13 @@ function it_is_initializable()
1617
}
1718

1819
function let(
20+
HelperSet $helperSet,
1921
ConfigHelper $config
2022
) {
23+
$helperSet->get('config')->willReturn($config);
24+
2125
$this->beConstructedWith(
22-
$config
26+
$helperSet
2327
);
2428

2529
$config->getConfig('alias')->willReturn(array(

spec/PHPCR/Shell/Transport/TransportFactorySpec.php renamed to spec/PHPCR/Shell/Transport/TransportRegistrySpec.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
use Prophecy\Argument;
77
use PHPCR\Shell\Transport\TransportInterface;
88

9-
class TransportFactorySpec extends ObjectBehavior
9+
class TransportRegistrySpec extends ObjectBehavior
1010
{
1111
function it_is_initializable()
1212
{
13-
$this->shouldHaveType('PHPCR\Shell\Transport\TransportFactory');
13+
$this->shouldHaveType('PHPCR\Shell\Transport\TransportRegistry');
1414
}
1515

1616
function it_can_register_transports(

tests/PHPCR/Shell/Application/ShellApplicationTest.php

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)