Skip to content

Commit 6b606b5

Browse files
committed
[Serializer] Fix XmlFileLoader test
1 parent cd2a4d9 commit 6b606b5

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Tests/Fixtures/serializer.xml renamed to Tests/Fixtures/serialization.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<?xml version="1.0" ?>
22

3-
<serializer xmlns="http://symfony.com/schema/dic/serializer"
3+
<serializer xmlns="http://symfony.com/schema/dic/serializer-mapping"
44
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5-
xsi:schemaLocation="http://symfony.com/schema/dic/serializer http://symfony.com/schema/dic/constraint-mapping/serializer-1.0.xsd">
5+
xsi:schemaLocation="http://symfony.com/schema/dic/serializer-mapping http://symfony.com/schema/dic/serializer-mapping/serializer-mapping-1.0.xsd">
66

77
<class name="Symfony\Component\Serializer\Tests\Fixtures\GroupDummy">
88
<attribute name="foo">
9-
<group name="group1" />
10-
<group name="group2" />
9+
<group>group1</group>
10+
<group>group2</group>
1111
</attribute>
1212

1313
<attribute name="bar">
14-
<group name="group2" />
14+
<group>group2</group>
1515
</attribute>
1616
</class>
1717

File renamed without changes.

Tests/Mapping/Loader/XmlFileLoaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class XmlFileLoaderTest extends \PHPUnit_Framework_TestCase
2525

2626
public function setUp()
2727
{
28-
$this->loader = new XmlFileLoader(__DIR__.'/../../Fixtures/serializer.xml');
28+
$this->loader = new XmlFileLoader(__DIR__.'/../../Fixtures/serialization.xml');
2929
$this->metadata = new ClassMetadata('Symfony\Component\Serializer\Tests\Fixtures\GroupDummy');
3030
}
3131

Tests/Mapping/Loader/YamlFileLoaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class YamlFileLoaderTest extends \PHPUnit_Framework_TestCase
2525

2626
public function setUp()
2727
{
28-
$this->loader = new YamlFileLoader(__DIR__.'/../../Fixtures/serializer.yml');
28+
$this->loader = new YamlFileLoader(__DIR__.'/../../Fixtures/serialization.yml');
2929
$this->metadata = new ClassMetadata('Symfony\Component\Serializer\Tests\Fixtures\GroupDummy');
3030
}
3131

0 commit comments

Comments
 (0)