Преглед на файлове

[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.
Ryan Weaver преди 14 години
родител
ревизия
663dcbcb32
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/Symfony/Bundle/SwiftmailerBundle/Tests/DependencyInjection/SwiftmailerExtensionTest.php

+ 1 - 1
src/Symfony/Bundle/SwiftmailerBundle/Tests/DependencyInjection/SwiftmailerExtensionTest.php

@@ -39,7 +39,7 @@ class SwiftmailerExtensionTest extends TestCase
         $container = new ContainerBuilder();
         $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.smtp', (string) $container->getAlias('swiftmailer.transport.real'));
     }