From d4ad6e0833a045b838c4985d80a809dcee95cb20 Mon Sep 17 00:00:00 2001 From: Dan Wallis Date: Fri, 10 Mar 2023 21:46:36 +0000 Subject: [PATCH] Update tests to match new behaviour --- .../HasType/IsScalar/WithPropertyDefinitions/normalized.json | 4 ++-- .../normalized.json | 4 ++-- .../IsScalar/WithoutPropertyDefinitions/normalized.json | 4 ++-- .../Json/IsObject/Schema/IsEmpty/normalized.json | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/HasType/IsScalar/WithPropertyDefinitions/normalized.json b/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/HasType/IsScalar/WithPropertyDefinitions/normalized.json index cde92d35..6254507b 100644 --- a/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/HasType/IsScalar/WithPropertyDefinitions/normalized.json +++ b/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/HasType/IsScalar/WithPropertyDefinitions/normalized.json @@ -2,8 +2,8 @@ "foo": {}, "bar": { "baz": { - "qux": "quux", - "quuz": "corge" + "quuz": "corge", + "qux": "quux" }, "grault": { "fred": "plugh", diff --git a/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/HasType/IsScalar/WithPropertyDefinitionsAndAdditionalProperties/normalized.json b/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/HasType/IsScalar/WithPropertyDefinitionsAndAdditionalProperties/normalized.json index 82b9a450..09b22c65 100644 --- a/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/HasType/IsScalar/WithPropertyDefinitionsAndAdditionalProperties/normalized.json +++ b/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/HasType/IsScalar/WithPropertyDefinitionsAndAdditionalProperties/normalized.json @@ -2,8 +2,8 @@ "foo": {}, "bar": { "baz": { - "qux": "quux", - "quuz": "corge" + "quuz": "corge", + "qux": "quux" }, "grault": { "fred": "plugh", diff --git a/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/HasType/IsScalar/WithoutPropertyDefinitions/normalized.json b/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/HasType/IsScalar/WithoutPropertyDefinitions/normalized.json index 4e66769d..a98bed56 100644 --- a/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/HasType/IsScalar/WithoutPropertyDefinitions/normalized.json +++ b/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/HasType/IsScalar/WithoutPropertyDefinitions/normalized.json @@ -1,8 +1,8 @@ { "bar": { "baz": { - "qux": "quux", - "quuz": "corge" + "quuz": "corge", + "qux": "quux" }, "grault": { "fred": "plugh", diff --git a/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/IsEmpty/normalized.json b/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/IsEmpty/normalized.json index 8b7cd8a4..11ac911d 100644 --- a/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/IsEmpty/normalized.json +++ b/test/Fixture/SchemaNormalizer/NormalizeNormalizesJson/WithCustomJsonPointerSpecification/Json/IsObject/Schema/IsEmpty/normalized.json @@ -1,12 +1,12 @@ { "bar": [ { - "foo": 9000, "bar": [ "foo", "bar", "baz" - ] + ], + "foo": 9000 }, { "foo": 3.1415