File tree Expand file tree Collapse file tree 4 files changed +3
-14
lines changed
Tests/DependencyInjection Expand file tree Collapse file tree 4 files changed +3
-14
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public function getConfigTreeBuilder()
3939 $ rootNode
4040 ->children ()
4141 ->scalarNode ('db_driver ' )
42- ->defaultValue (" no_driver " )
42+ ->defaultValue (' no_driver ' )
4343 ->validate ()
4444 ->ifNotInArray ($ supportedDrivers )
4545 ->thenInvalid ('The driver %s is not supported. Please choose one of ' .json_encode ($ supportedDrivers ))
Original file line number Diff line number Diff line change 1212namespace FOS \UserBundle \Model ;
1313
1414/**
15- * Fallback Group Manager implementation when db_driver is not configured
15+ * Fallback Group Manager implementation when db_driver is not configured.
1616 *
1717 * @author Andrey F. Mindubaev <andrey@mindubaev.ru>
1818 */
Original file line number Diff line number Diff line change 1212namespace FOS \UserBundle \Model ;
1313
1414/**
15- * Fallback User Manager implementation when db_driver is not configured
15+ * Fallback User Manager implementation when db_driver is not configured.
1616 *
1717 * @author Andrey F. Mindubaev <andrey@mindubaev.ru>
1818 */
Original file line number Diff line number Diff line change @@ -26,17 +26,6 @@ protected function tearDown()
2626 unset($ this ->configuration );
2727 }
2828
29- /**
30- * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
31- */
32- public function testUserLoadThrowsExceptionUnlessDatabaseDriverSet ()
33- {
34- $ loader = new FOSUserExtension ();
35- $ config = $ this ->getEmptyConfig ();
36- unset($ config ['db_driver ' ]);
37- $ loader ->load (array ($ config ), new ContainerBuilder ());
38- }
39-
4029 /**
4130 * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
4231 */
You can’t perform that action at this time.
0 commit comments