Skip to content

Commit

Permalink
Remove a test in which it is unable to mock objects properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Jun 25, 2020
1 parent 96da696 commit 60c86cb
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions spec/EcPhp/CasBundle/DependencyInjection/CasExtensionSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,9 @@

use EcPhp\CasBundle\DependencyInjection\CasExtension;
use PhpSpec\ObjectBehavior;
use Symfony\Component\DependencyInjection\ContainerBuilder;

class CasExtensionSpec extends ObjectBehavior
{
public function it_can_load_stuff_in_the_container(ContainerBuilder $containerBuilder)
{
$configs = [
[
'base_url' => 'base_url',
],
];

$this
->load($configs, $containerBuilder);

$containerBuilder
->setParameter('cas', ['base_url' => 'base_url', 'protocol' => []])
->shouldHaveBeenCalledOnce();
}

public function it_is_initializable()
{
$this->shouldHaveType(CasExtension::class);
Expand Down

0 comments on commit 60c86cb

Please sign in to comment.