[SwiftmailerBundle] Removing unnecessary "enabled" key in a test.

I double-checked with Stof - this is obviously unnecessary and there was no meaning behind including it. This caused the test to fail with the new validation.
This commit is contained in:
Ryan Weaver 2011-02-18 07:55:39 -06:00
parent 2d94f2d8d0
commit 663dcbcb32

View File

@ -39,7 +39,7 @@ class SwiftmailerExtensionTest extends TestCase
$container = new ContainerBuilder(); $container = new ContainerBuilder();
$loader = new SwiftmailerExtension(); $loader = new SwiftmailerExtension();
$loader->load(array(array('spool' => array ('enabled' => true))), $container); $loader->load(array(array('spool' => array())), $container);
$this->assertEquals('swiftmailer.transport.spool', (string) $container->getAlias('swiftmailer.transport')); $this->assertEquals('swiftmailer.transport.spool', (string) $container->getAlias('swiftmailer.transport'));
$this->assertEquals('swiftmailer.transport.smtp', (string) $container->getAlias('swiftmailer.transport.real')); $this->assertEquals('swiftmailer.transport.smtp', (string) $container->getAlias('swiftmailer.transport.real'));
} }