From c6cbc1a862e0d4f2b3c7e374f8167aee60e608da Mon Sep 17 00:00:00 2001 From: Martin Ficzel Date: Mon, 11 Mar 2024 12:06:46 +0100 Subject: [PATCH] BUGFIX: Fix propertyValueCriteriaMatcherTest --- .../PropertyValue/PropertyValueCriteriaMatcherTest.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Neos.ContentRepository.Core/Tests/Unit/Projection/ContentGraph/PropertyValue/PropertyValueCriteriaMatcherTest.php b/Neos.ContentRepository.Core/Tests/Unit/Projection/ContentGraph/PropertyValue/PropertyValueCriteriaMatcherTest.php index d2b8d74f323..c2f4b6ea111 100644 --- a/Neos.ContentRepository.Core/Tests/Unit/Projection/ContentGraph/PropertyValue/PropertyValueCriteriaMatcherTest.php +++ b/Neos.ContentRepository.Core/Tests/Unit/Projection/ContentGraph/PropertyValue/PropertyValueCriteriaMatcherTest.php @@ -33,9 +33,8 @@ class PropertyValueCriteriaMatcherTest extends TestCase public function setUp(): void { $this->serializedPropertyValues = SerializedPropertyValues::fromArray([ - 'nullProperty' => new SerializedPropertyValue(null, 'null'), - 'stringProperty' => new SerializedPropertyValue('foo', 'string'), - 'integerProperty' => new SerializedPropertyValue(123, 'int') + 'stringProperty' => SerializedPropertyValue::create('foo', 'string'), + 'integerProperty' => SerializedPropertyValue::create(123, 'int') ]); $this->propertyCollection = new PropertyCollection(