Skip to content

Commit

Permalink
Tests: fixed compatibility, not using extensions section
Browse files Browse the repository at this point in the history
  • Loading branch information
fprochazka committed Aug 12, 2013
1 parent a9316bb commit f3b2ba4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions tests/KdybyTests/Annotations/Extension.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class ExtensionTest extends Tester\TestCase
$config->addParameters(array('container' => array('class' => 'SystemContainer_' . md5($configFile))));
$config->addConfig(__DIR__ . '/../nette-reset.neon', $config::NONE);
$config->addConfig(__DIR__ . '/config/' . $configFile . '.neon', $config::NONE);
Kdyby\Annotations\DI\AnnotationsExtension::register($config);

return $config->createContainer();
}
Expand Down
4 changes: 0 additions & 4 deletions tests/KdybyTests/nette-reset.neon
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ php:
date.timezone: Europe/Prague


extensions:
annotations: Kdyby\Annotations\DI\AnnotationsExtension


nette:
security:
frames: null
Expand Down

0 comments on commit f3b2ba4

Please sign in to comment.