File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed
tests/DependencyInjection Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 2323 "php-cache/doctrine-cache" : " dev-master"
2424 },
2525 "require-dev" : {
26- "phpunit/phpunit" : " ^5.1|^4.0"
26+ "phpunit/phpunit" : " ^5.1|^4.0" ,
27+ "matthiasnoback/symfony-dependency-injection-test" : " 0.7.*"
2728 },
2829 "autoload" : {
2930 "psr-4" : {
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Cache \DoctrineCacheBundle \Tests \DependencyInjection ;
4+
5+ use Cache \DoctrineCacheBundle \DependencyInjection \DoctrineCacheExtension ;
6+ use Matthias \SymfonyDependencyInjectionTest \PhpUnit \AbstractExtensionTestCase ;
7+
8+ class DoctrineCacheExtensionTest extends AbstractExtensionTestCase
9+ {
10+
11+ protected function getContainerExtensions ()
12+ {
13+ return array (
14+ new DoctrineCacheExtension ()
15+ );
16+ }
17+
18+ public function after_loading_the_correct_parameter_has_been_set ()
19+ {
20+ $ this ->load ();
21+
22+ $ this ->assertContainerBuilderHasParameter ('doctrine_cache.providers ' );
23+ }
24+ }
You can’t perform that action at this time.
0 commit comments