Skip to content

Commit f1e2f36

Browse files
committed
fix unit tests
1 parent 47f2a62 commit f1e2f36

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/LightSaml/SymfonyBridgeBundle/Bridge/Container/ProviderContainer.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,9 @@ public function getNameIdProvider()
4141
{
4242
return $this->container->get('lightsaml.provider.name_id');
4343
}
44+
45+
public function getAttributeNameProvider()
46+
{
47+
return $this->container->get('lightsaml.provider.attribute_name');
48+
}
4449
}

tests/LightSaml/SymfonyBridgeBundle/Tests/DependencyInjection/Compiler/AddMethodCallCompilerPassTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function test_process_does_nothing_if_container_does_not_have_the_service
2121

2222
$pass->process($containerBuilder);
2323

24-
$this->assertCount(0, $containerBuilder->getDefinitions());
24+
$this->assertFalse($containerBuilder->hasDefinition($serviceId));
2525
}
2626

2727
public function test_process_adds_calls_to_service_with_argument_reference_to_all_tagged_services()

0 commit comments

Comments
 (0)