8000 minor #13108 [Serializer] Fix XmlFileLoader test (dunglas) · symfony/symfony@9280c62 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9280c62

Browse files
committed
minor #13108 [Serializer] Fix XmlFileLoader test (dunglas)
This PR was merged into the 2.7 branch. Discussion ---------- [Serializer] Fix XmlFileLoader test | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | License | MIT | Doc PR | not yet Fix a bug in `XmlFileLoaderTest` tests. Commits ------- efd39cf [Serializer] Fix XmlFileLoader test
2 parents 4475e4d + efd39cf commit 9280c62

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/Symfony/Component/Serializer/Tests/Fixtures/serializer.xml renamed to src/Symfony/Component/Serializer/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

src/Symfony/Component/Serializer/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

src/Symfony/Component/Serializer/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)
0