"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "public_html/lists/base/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Compiler/FormPassTest.php" between
phplist-3.4.5.tgz and phplist-3.4.6.tgz

About: phpList is a one-way email announcement delivery system for newsletters, publicity lists, notifications, and many other uses (requires PHP and MySQL).

FormPassTest.php  (phplist-3.4.5.tgz):FormPassTest.php  (phplist-3.4.6.tgz)
skipping to change at line 127 skipping to change at line 127
'my.type_extension6' => ['extended_type' => 'type2', 'priori ty' => 1], 'my.type_extension6' => ['extended_type' => 'type2', 'priori ty' => 1],
], ],
[ [
'type1' => ['my.type_extension2', 'my.type_extension1', 'my. type_extension3'], 'type1' => ['my.type_extension2', 'my.type_extension1', 'my. type_extension3'],
'type2' => ['my.type_extension4', 'my.type_extension5', 'my. type_extension6'], 'type2' => ['my.type_extension4', 'my.type_extension5', 'my. type_extension6'],
], ],
], ],
]; ];
} }
/**
* @expectedException \InvalidArgumentException
* @expectedExceptionMessage extended-type attribute, none was configured fo
r the "my.type_extension" service
*/
public function testAddTaggedFormTypeExtensionWithoutExtendedTypeAttribute() public function testAddTaggedFormTypeExtensionWithoutExtendedTypeAttribute()
{ {
$this->expectException('InvalidArgumentException');
$this->expectExceptionMessage('extended-type attribute, none was configu
red for the "my.type_extension" service');
$container = new ContainerBuilder(); $container = new ContainerBuilder();
$container->addCompilerPass(new FormPass()); $container->addCompilerPass(new FormPass());
$extDefinition = new Definition('Symfony\Component\Form\Extension\Depend encyInjection\DependencyInjectionExtension', [ $extDefinition = new Definition('Symfony\Component\Form\Extension\Depend encyInjection\DependencyInjectionExtension', [
new Reference('service_container'), new Reference('service_container'),
[], [],
[], [],
[], [],
]); ]);
$extDefinition->setPublic(true); $extDefinition->setPublic(true);
 End of changes. 2 change blocks. 
5 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)