File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tests/Functional/JsonSchema Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ public function testSubSchemaJsonLd(): void
5151 $ expectedBagOfTestsSchema = new \ArrayObject ([
5252 'allOf ' => [
5353 [
54- '$ref ' => '#/definitions/HydraItemBaseSchema ' ,
54+ '$ref ' => '#/definitions/HydraOutputBaseSchema ' ,
5555 ],
5656 new \ArrayObject ([
5757 'type ' => 'object ' ,
@@ -106,7 +106,7 @@ public function testSubSchemaJsonLd(): void
106106 $ expectedTestEntitySchema = new \ArrayObject ([
107107 'allOf ' => [
108108 [
109- '$ref ' => '#/definitions/HydraItemBaseSchema ' ,
109+ '$ref ' => '#/definitions/HydraOutputBaseSchema ' ,
110110 ],
111111 new \ArrayObject ([
112112 'type ' => 'object ' ,
@@ -152,7 +152,7 @@ public function testSchemaJsonLdCollection(): void
152152 $ this ->assertArrayHasKey ('BagOfTests.jsonld-read ' , $ schema ['definitions ' ]);
153153 $ this ->assertArrayHasKey ('NonResourceTestEntity.jsonld-read ' , $ schema ['definitions ' ]);
154154 $ this ->assertArrayHasKey ('TestEntity.jsonld-read ' , $ schema ['definitions ' ]);
155- $ this ->assertArrayHasKey ('HydraItemBaseSchema ' , $ schema ['definitions ' ]);
155+ $ this ->assertArrayHasKey ('HydraOutputBaseSchema ' , $ schema ['definitions ' ]);
156156 $ this ->assertArrayHasKey ('HydraCollectionBaseSchema ' , $ schema ['definitions ' ]);
157157
158158 $ this ->assertEquals (['$ref ' => '#/definitions/HydraCollectionBaseSchema ' ], $ schema ['allOf ' ][0 ]);
You can’t perform that action at this time.
0 commit comments