From 24154b7f4d341e30b1a2b7851807603da93c89db Mon Sep 17 00:00:00 2001 From: Sven Eisenschmidt Date: Mon, 17 Mar 2014 14:12:36 +0100 Subject: [PATCH] ensured compatibility with jms/serializer >=v0.14 --- .gitignore | 1 + composer.lock | 210 ++++++++++++------ src/SE/Component/BMEcat/DocumentBuilder.php | 35 ++- src/SE/Component/BMEcat/Node/ArticleNode.php | 6 +- .../Component/BMEcat/Tests/DataLoaderTest.php | 6 +- .../Fixtures/document_with_null_values.xml | 2 +- ...empty_article_details_with_null_values.xml | 2 +- ...empty_article_feature_with_null_values.xml | 2 +- .../empty_article_price_with_null_values.xml | 2 +- .../empty_article_with_null_values.xml | 2 +- .../empty_catalog_with_null_values.xml | 2 +- .../empty_datetime_with_null_values.xml | 2 +- ...y_document_nochildren_with_null_values.xml | 2 +- .../empty_document_with_null_values.xml | 2 +- .../empty_header_with_null_values.xml | 2 +- .../empty_new_catalog_with_null_values.xml | 2 +- .../empty_supplier_with_null_values.xml | 2 +- .../Tests/Node/ArticleDetailsNodeTest.php | 8 +- .../Tests/Node/ArticleFeatureNodeTest.php | 8 +- .../BMEcat/Tests/Node/ArticleNodeTest.php | 8 +- .../Tests/Node/ArticlePriceNodeTest.php | 8 +- .../BMEcat/Tests/Node/CatalogNodeTest.php | 8 +- .../BMEcat/Tests/Node/DateTimeNodeTest.php | 8 +- .../BMEcat/Tests/Node/DocumentNodeTest.php | 8 +- .../BMEcat/Tests/Node/HeaderNodeTest.php | 8 +- .../BMEcat/Tests/Node/NewCatalogNodeTest.php | 8 +- .../BMEcat/Tests/Node/SupplierNodeTest.php | 8 +- 27 files changed, 231 insertions(+), 131 deletions(-) diff --git a/.gitignore b/.gitignore index a51fd7f..7b022a8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .idea .tmp vendor +composer.phar \ No newline at end of file diff --git a/composer.lock b/composer.lock index 05d6285..e1a5747 100644 --- a/composer.lock +++ b/composer.lock @@ -3,34 +3,38 @@ "This file locks the dependencies of your project to a known state", "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file" ], - "hash": "3d97f75065e3c789f33f6eda5edc8c59", + "hash": "6b26582ca82150aa17d69732ff68f530", "packages": [ { - "name": "doctrine/common", - "version": "2.3.0", + "name": "doctrine/annotations", + "version": "v1.1.2", "source": { "type": "git", - "url": "https://github.com/doctrine/common.git", - "reference": "d1c7d4334e38cad603a5c863d4c7b91bb04ec6b2" + "url": "https://github.com/doctrine/annotations.git", + "reference": "40db0c96985aab2822edbc4848b3bd2429e02670" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/common/zipball/d1c7d4334e38cad603a5c863d4c7b91bb04ec6b2", - "reference": "d1c7d4334e38cad603a5c863d4c7b91bb04ec6b2", + "url": "https://api.github.com/repos/doctrine/annotations/zipball/40db0c96985aab2822edbc4848b3bd2429e02670", + "reference": "40db0c96985aab2822edbc4848b3bd2429e02670", "shasum": "" }, "require": { + "doctrine/lexer": "1.*", "php": ">=5.3.2" }, + "require-dev": { + "doctrine/cache": "1.*" + }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.3.x-dev" + "dev-master": "1.0.x-dev" } }, "autoload": { "psr-0": { - "Doctrine\\Common": "lib/" + "Doctrine\\Common\\Annotations\\": "lib/" } }, "notification-url": "https://packagist.org/downloads/", @@ -39,9 +43,10 @@ ], "authors": [ { - "name": "Jonathan Wage", + "name": "Jonathan H. Wage", "email": "jonwage@gmail.com", - "homepage": "http://www.jwage.com/" + "homepage": "http://www.jwage.com/", + "role": "Creator" }, { "name": "Guilherme Blanco", @@ -63,35 +68,93 @@ "role": "Developer of wrapped JMSSerializerBundle" } ], - "description": "Common Library for Doctrine projects", + "description": "Docblock Annotations Parser", "homepage": "http://www.doctrine-project.org", "keywords": [ "annotations", - "collections", - "eventmanager", - "persistence", - "spl" + "docblock", + "parser" ], - "time": "2012-09-20 05:55:18" + "time": "2013-06-16 21:33:03" + }, + { + "name": "doctrine/lexer", + "version": "v1.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/lexer.git", + "reference": "2f708a85bb3aab5d99dab8be435abd73e0b18acb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/2f708a85bb3aab5d99dab8be435abd73e0b18acb", + "reference": "2f708a85bb3aab5d99dab8be435abd73e0b18acb", + "shasum": "" + }, + "require": { + "php": ">=5.3.2" + }, + "type": "library", + "autoload": { + "psr-0": { + "Doctrine\\Common\\Lexer\\": "lib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com", + "homepage": "http://www.instaclick.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com", + "homepage": "http://jmsyst.com", + "role": "Developer of wrapped JMSSerializerBundle" + } + ], + "description": "Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.", + "homepage": "http://www.doctrine-project.org", + "keywords": [ + "lexer", + "parser" + ], + "time": "2013-01-12 18:59:04" }, { "name": "jms/metadata", - "version": "1.1.1", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/schmittjoh/metadata.git", - "reference": "84088bc4f6e2387ec8b549bffc1e037107572f5a" + "reference": "88ffa28bc987e4c26229fc84a2e541b6ed4e1459" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/schmittjoh/metadata/zipball/84088bc4f6e2387ec8b549bffc1e037107572f5a", - "reference": "84088bc4f6e2387ec8b549bffc1e037107572f5a", + "url": "https://api.github.com/repos/schmittjoh/metadata/zipball/88ffa28bc987e4c26229fc84a2e541b6ed4e1459", + "reference": "88ffa28bc987e4c26229fc84a2e541b6ed4e1459", "shasum": "" }, "require": { "php": ">=5.3.0" }, + "require-dev": { + "doctrine/cache": "~1.0" + }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.5.x-dev" + } + }, "autoload": { "psr-0": { "Metadata\\": "src/" @@ -116,7 +179,7 @@ "xml", "yaml" ], - "time": "2012-01-02 21:32:49" + "time": "2013-11-05 23:02:36" }, { "name": "jms/parser-lib", @@ -155,29 +218,32 @@ }, { "name": "jms/serializer", - "version": "0.11.0", + "version": "0.15.0", "source": { "type": "git", "url": "https://github.com/schmittjoh/serializer.git", - "reference": "71388cc58d4c146136ff7e32d9691562ddd5ae99" + "reference": "4a49caf0a20babcf8040fb1cf84f26faff6e7d85" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/schmittjoh/serializer/zipball/71388cc58d4c146136ff7e32d9691562ddd5ae99", - "reference": "71388cc58d4c146136ff7e32d9691562ddd5ae99", + "url": "https://api.github.com/repos/schmittjoh/serializer/zipball/4a49caf0a20babcf8040fb1cf84f26faff6e7d85", + "reference": "4a49caf0a20babcf8040fb1cf84f26faff6e7d85", "shasum": "" }, "require": { - "doctrine/common": "2.*", - "jms/metadata": ">=1.1.0,<1.3-dev", + "doctrine/annotations": "1.*", + "jms/metadata": "~1.1", "jms/parser-lib": "1.*", "php": ">=5.3.2", "phpcollection/phpcollection": ">=0.1,<0.3-dev" }, "require-dev": { "doctrine/orm": ">=2.1,<2.4-dev", + "doctrine/phpcr-odm": "~1.0.1", + "jackalope/jackalope-doctrine-dbal": "1.0.*", + "propel/propel1": "~1.7", "symfony/filesystem": "2.*", - "symfony/form": ">=2.1,<2.2-dev", + "symfony/form": ">=2.1,<=2.4-dev", "symfony/translation": ">=2.0,<2.2-dev", "symfony/validator": ">=2.0,<2.2-dev", "symfony/yaml": "2.*", @@ -189,7 +255,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "0.14-dev" } }, "autoload": { @@ -218,7 +284,7 @@ "serialization", "xml" ], - "time": "2013-01-29 10:56:07" + "time": "2014-02-10 11:00:05" }, { "name": "phpcollection/phpcollection", @@ -272,16 +338,16 @@ }, { "name": "phpoption/phpoption", - "version": "1.3.0", + "version": "1.4.0", "source": { "type": "git", "url": "https://github.com/schmittjoh/php-option.git", - "reference": "1c7e8016289d17d83ced49c56d0f266fd0568941" + "reference": "5d099bcf0393908bf4ad69cc47dafb785d51f7f5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/1c7e8016289d17d83ced49c56d0f266fd0568941", - "reference": "1c7e8016289d17d83ced49c56d0f266fd0568941", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/5d099bcf0393908bf4ad69cc47dafb785d51f7f5", + "reference": "5d099bcf0393908bf4ad69cc47dafb785d51f7f5", "shasum": "" }, "require": { @@ -317,28 +383,28 @@ "php", "type" ], - "time": "2013-05-19 11:09:35" + "time": "2014-01-09 22:37:17" } ], "packages-dev": [ { "name": "phpunit/php-code-coverage", - "version": "1.2.12", + "version": "1.2.16", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "0e9958c459d675fb497d8dc5001c91d335734e48" + "reference": "69e55e68481cf708a6db43aff0b504e31402fe27" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/0e9958c459d675fb497d8dc5001c91d335734e48", - "reference": "0e9958c459d675fb497d8dc5001c91d335734e48", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/69e55e68481cf708a6db43aff0b504e31402fe27", + "reference": "69e55e68481cf708a6db43aff0b504e31402fe27", "shasum": "" }, "require": { "php": ">=5.3.3", "phpunit/php-file-iterator": ">=1.3.0@stable", - "phpunit/php-text-template": ">=1.1.1@stable", + "phpunit/php-text-template": ">=1.2.0@stable", "phpunit/php-token-stream": ">=1.1.3@stable" }, "require-dev": { @@ -380,20 +446,20 @@ "testing", "xunit" ], - "time": "2013-07-06 06:26:16" + "time": "2014-02-25 03:34:05" }, { "name": "phpunit/php-file-iterator", - "version": "1.3.3", + "version": "1.3.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "16a78140ed2fc01b945cfa539665fadc6a038029" + "reference": "acd690379117b042d1c8af1fafd61bde001bf6bb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/16a78140ed2fc01b945cfa539665fadc6a038029", - "reference": "16a78140ed2fc01b945cfa539665fadc6a038029", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/acd690379117b042d1c8af1fafd61bde001bf6bb", + "reference": "acd690379117b042d1c8af1fafd61bde001bf6bb", "shasum": "" }, "require": { @@ -420,25 +486,25 @@ } ], "description": "FilterIterator implementation that filters files based on a list of suffixes.", - "homepage": "http://www.phpunit.de/", + "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", "keywords": [ "filesystem", "iterator" ], - "time": "2012-10-11 11:44:38" + "time": "2013-10-10 15:34:57" }, { "name": "phpunit/php-text-template", - "version": "1.1.4", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "5180896f51c5b3648ac946b05f9ec02be78a0b23" + "reference": "206dfefc0ffe9cebf65c413e3d0e809c82fbf00a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5180896f51c5b3648ac946b05f9ec02be78a0b23", - "reference": "5180896f51c5b3648ac946b05f9ec02be78a0b23", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/206dfefc0ffe9cebf65c413e3d0e809c82fbf00a", + "reference": "206dfefc0ffe9cebf65c413e3d0e809c82fbf00a", "shasum": "" }, "require": { @@ -469,7 +535,7 @@ "keywords": [ "template" ], - "time": "2012-10-31 18:15:28" + "time": "2014-01-30 17:20:04" }, { "name": "phpunit/php-timer", @@ -517,16 +583,16 @@ }, { "name": "phpunit/php-token-stream", - "version": "1.2.0", + "version": "1.2.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "31babf400e5b5868573bf49a000a3519d3978233" + "reference": "ad4e1e23ae01b483c16f600ff1bebec184588e32" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/31babf400e5b5868573bf49a000a3519d3978233", - "reference": "31babf400e5b5868573bf49a000a3519d3978233", + "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/ad4e1e23ae01b483c16f600ff1bebec184588e32", + "reference": "ad4e1e23ae01b483c16f600ff1bebec184588e32", "shasum": "" }, "require": { @@ -563,20 +629,20 @@ "keywords": [ "tokenizer" ], - "time": "2013-08-04 05:57:48" + "time": "2014-03-03 05:10:30" }, { "name": "phpunit/phpunit", - "version": "3.7.24", + "version": "3.7.32", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "af7b77ccb5c64458bdfca95665d29558d1df7d08" + "reference": "2752cbb9ea5bd84c2811b34b6953f76965ec7a2f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/af7b77ccb5c64458bdfca95665d29558d1df7d08", - "reference": "af7b77ccb5c64458bdfca95665d29558d1df7d08", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/2752cbb9ea5bd84c2811b34b6953f76965ec7a2f", + "reference": "2752cbb9ea5bd84c2811b34b6953f76965ec7a2f", "shasum": "" }, "require": { @@ -593,7 +659,7 @@ "symfony/yaml": "~2.0" }, "require-dev": { - "pear-pear/pear": "1.9.4" + "pear-pear.php.net/pear": "1.9.4" }, "suggest": { "ext-json": "*", @@ -637,7 +703,7 @@ "testing", "xunit" ], - "time": "2013-08-09 06:58:24" + "time": "2014-02-25 03:47:29" }, { "name": "phpunit/phpunit-mock-objects", @@ -690,17 +756,17 @@ }, { "name": "symfony/yaml", - "version": "v2.3.4", + "version": "v2.4.2", "target-dir": "Symfony/Component/Yaml", "source": { "type": "git", "url": "https://github.com/symfony/Yaml.git", - "reference": "5a279f1b5f5e1045a6c432354d9ea727ff3a9847" + "reference": "bb6ddaf8956139d1b8c360b4b713ed0138e876b3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/Yaml/zipball/5a279f1b5f5e1045a6c432354d9ea727ff3a9847", - "reference": "5a279f1b5f5e1045a6c432354d9ea727ff3a9847", + "url": "https://api.github.com/repos/symfony/Yaml/zipball/bb6ddaf8956139d1b8c360b4b713ed0138e876b3", + "reference": "bb6ddaf8956139d1b8c360b4b713ed0138e876b3", "shasum": "" }, "require": { @@ -709,7 +775,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.3-dev" + "dev-master": "2.4-dev" } }, "autoload": { @@ -724,7 +790,9 @@ "authors": [ { "name": "Fabien Potencier", - "email": "fabien@symfony.com" + "email": "fabien@symfony.com", + "homepage": "http://fabien.potencier.org", + "role": "Lead Developer" }, { "name": "Symfony Community", @@ -733,7 +801,7 @@ ], "description": "Symfony Yaml Component", "homepage": "http://symfony.com", - "time": "2013-08-24 15:26:22" + "time": "2014-01-07 13:28:54" } ], "aliases": [ diff --git a/src/SE/Component/BMEcat/DocumentBuilder.php b/src/SE/Component/BMEcat/DocumentBuilder.php index 315b347..874e5a1 100644 --- a/src/SE/Component/BMEcat/DocumentBuilder.php +++ b/src/SE/Component/BMEcat/DocumentBuilder.php @@ -12,6 +12,7 @@ use \JMS\Serializer\Serializer; use \JMS\Serializer\SerializerBuilder; +use \JMS\Serializer\SerializationContext; use \SE\Component\BMEcat\DataLoader; use \SE\Component\BMEcat\NodeLoader; @@ -31,6 +32,12 @@ class DocumentBuilder */ protected $serializer; + /** + * + * @var \JMS\Serializer\SerializationContext + */ + protected $context; + /** * * @var \SE\Component\BMEcat\NodeLoader @@ -48,16 +55,22 @@ class DocumentBuilder * @param \JMS\Serializer\Serializer $serializer * @param \SE\Component\BMEcat\NodeLoader $loader */ - public function __construct(Serializer $serializer = null, NodeLoader $loader = null) + public function __construct(Serializer $serializer = null, NodeLoader $loader = null, $context = null) { if($serializer === null) { $serializer = SerializerBuilder::create()->build(); } + if($context === null) { + $context = SerializationContext::create(); + } + + if($loader === null) { $loader = new NodeLoader(); } + $this->context = $context; $this->serializer = $serializer; $this->loader = $loader; } @@ -91,6 +104,15 @@ public function getSerializer() return $this->serializer; } + /** + * + * @return \JMS\Serializer\SerializationContext + */ + public function getContext() + { + return $this->context; + } + /** * * @param Node\DocumentNode $document @@ -158,6 +180,15 @@ public function load(array $data) { DataLoader::load($data, $this); } + + /** + * + * @param $bool + */ + public function setSerializeNull($bool) + { + $this->context->setSerializeNull($bool); + } /** * @@ -170,6 +201,6 @@ public function toString() throw new MissingDocumentException('No Document built. Please call ::build first.'); } - return $this->serializer->serialize($document, 'xml'); + return $this->serializer->serialize($document, 'xml', $this->context); } } diff --git a/src/SE/Component/BMEcat/Node/ArticleNode.php b/src/SE/Component/BMEcat/Node/ArticleNode.php index c940807..f156099 100644 --- a/src/SE/Component/BMEcat/Node/ArticleNode.php +++ b/src/SE/Component/BMEcat/Node/ArticleNode.php @@ -50,10 +50,10 @@ class ArticleNode extends AbstractNode * * @Serializer\Expose * @Serializer\SerializedName("ARTICLE_PRICE_DETAILS") - * @Serializer\Type("array") + * @Serializer\Type("array") * @Serializer\XmlList( entry="ARTICLE_PRICE") * - * @var \SE\Component\BMEcat\Node\ArticlePricingNode[] + * @var \SE\Component\BMEcat\Node\ArticlePriceNode[] */ protected $prices = []; @@ -167,7 +167,7 @@ public function getFeatures() /** * - * @return \SE\Component\BMEcat\Node\ArticlePricingNode[] + * @return \SE\Component\BMEcat\Node\ArticlePriceNode[] */ public function getPrices() { diff --git a/tests/SE/Component/BMEcat/Tests/DataLoaderTest.php b/tests/SE/Component/BMEcat/Tests/DataLoaderTest.php index 01c0e7d..d9223c0 100644 --- a/tests/SE/Component/BMEcat/Tests/DataLoaderTest.php +++ b/tests/SE/Component/BMEcat/Tests/DataLoaderTest.php @@ -329,12 +329,12 @@ public function Nullable_Is_Handled_Correctly() 'nullable' => true ]; - $serializer = $this->getMock('\JMS\Serializer\Serializer', [], [], '', false); - $serializer->expects($this->exactly(2)) + $context = $this->getMock('\JMS\Serializer\SerializationContext', [], [], '', false); + $context->expects($this->exactly(2)) ->method('setSerializeNull') ->with($data['nullable']); - $builder = new \SE\Component\BMEcat\DocumentBuilder($serializer); + $builder = new \SE\Component\BMEcat\DocumentBuilder(null, null, $context); $builder->setSerializeNull($data['nullable']); \SE\Component\BMEcat\DataLoader::load($data, $builder); diff --git a/tests/SE/Component/BMEcat/Tests/Fixtures/document_with_null_values.xml b/tests/SE/Component/BMEcat/Tests/Fixtures/document_with_null_values.xml index 5c9dd90..6873d29 100644 --- a/tests/SE/Component/BMEcat/Tests/Fixtures/document_with_null_values.xml +++ b/tests/SE/Component/BMEcat/Tests/Fixtures/document_with_null_values.xml @@ -1,5 +1,5 @@ - +
diff --git a/tests/SE/Component/BMEcat/Tests/Fixtures/empty_article_details_with_null_values.xml b/tests/SE/Component/BMEcat/Tests/Fixtures/empty_article_details_with_null_values.xml index 5736592..70761a6 100644 --- a/tests/SE/Component/BMEcat/Tests/Fixtures/empty_article_details_with_null_values.xml +++ b/tests/SE/Component/BMEcat/Tests/Fixtures/empty_article_details_with_null_values.xml @@ -1,5 +1,5 @@ - + diff --git a/tests/SE/Component/BMEcat/Tests/Fixtures/empty_article_feature_with_null_values.xml b/tests/SE/Component/BMEcat/Tests/Fixtures/empty_article_feature_with_null_values.xml index 386543b..69eb55b 100644 --- a/tests/SE/Component/BMEcat/Tests/Fixtures/empty_article_feature_with_null_values.xml +++ b/tests/SE/Component/BMEcat/Tests/Fixtures/empty_article_feature_with_null_values.xml @@ -1,5 +1,5 @@ - + diff --git a/tests/SE/Component/BMEcat/Tests/Fixtures/empty_article_price_with_null_values.xml b/tests/SE/Component/BMEcat/Tests/Fixtures/empty_article_price_with_null_values.xml index 3896125..ec4afac 100644 --- a/tests/SE/Component/BMEcat/Tests/Fixtures/empty_article_price_with_null_values.xml +++ b/tests/SE/Component/BMEcat/Tests/Fixtures/empty_article_price_with_null_values.xml @@ -1,5 +1,5 @@ - + diff --git a/tests/SE/Component/BMEcat/Tests/Fixtures/empty_article_with_null_values.xml b/tests/SE/Component/BMEcat/Tests/Fixtures/empty_article_with_null_values.xml index ac75636..d651140 100644 --- a/tests/SE/Component/BMEcat/Tests/Fixtures/empty_article_with_null_values.xml +++ b/tests/SE/Component/BMEcat/Tests/Fixtures/empty_article_with_null_values.xml @@ -1,5 +1,5 @@ -
+
diff --git a/tests/SE/Component/BMEcat/Tests/Fixtures/empty_catalog_with_null_values.xml b/tests/SE/Component/BMEcat/Tests/Fixtures/empty_catalog_with_null_values.xml index 57c67ee..5cdc2bf 100644 --- a/tests/SE/Component/BMEcat/Tests/Fixtures/empty_catalog_with_null_values.xml +++ b/tests/SE/Component/BMEcat/Tests/Fixtures/empty_catalog_with_null_values.xml @@ -1,5 +1,5 @@ - + diff --git a/tests/SE/Component/BMEcat/Tests/Fixtures/empty_datetime_with_null_values.xml b/tests/SE/Component/BMEcat/Tests/Fixtures/empty_datetime_with_null_values.xml index 719531c..cac21b4 100644 --- a/tests/SE/Component/BMEcat/Tests/Fixtures/empty_datetime_with_null_values.xml +++ b/tests/SE/Component/BMEcat/Tests/Fixtures/empty_datetime_with_null_values.xml @@ -1,5 +1,5 @@ - +