@@ -55,7 +55,7 @@ public function testChildExtendsParentValidTest($childSchema, $parentSchema)
5555 $ decodedJson = json_decode ($ json );
5656 $ decodedJsonSchema = json_decode ($ childSchema );
5757
58- $ this ->validator ->check ($ decodedJson , $ decodedJsonSchema );
58+ $ this ->validator ->validate ($ decodedJson , $ decodedJsonSchema );
5959 $ this ->assertTrue ($ this ->validator ->isValid ());
6060 }
6161
@@ -70,7 +70,7 @@ public function testChildExtendsParentInvalidChildTest($childSchema, $parentSche
7070 $ decodedJson = json_decode ($ json );
7171 $ decodedJsonSchema = json_decode ($ childSchema );
7272
73- $ this ->validator ->check ($ decodedJson , $ decodedJsonSchema );
73+ $ this ->validator ->validate ($ decodedJson , $ decodedJsonSchema );
7474 $ this ->assertFalse ($ this ->validator ->isValid ());
7575 }
7676
@@ -85,7 +85,7 @@ public function testChildExtendsParentInvalidParentTest($childSchema, $parentSch
8585 $ decodedJson = json_decode ($ json );
8686 $ decodedJsonSchema = json_decode ($ childSchema );
8787
88- $ this ->validator ->check ($ decodedJson , $ decodedJsonSchema );
88+ $ this ->validator ->validate ($ decodedJson , $ decodedJsonSchema );
8989 $ this ->assertFalse ($ this ->validator ->isValid ());
9090 }
9191
@@ -101,7 +101,7 @@ public function testResolveRelativeUri($childSchema, $parentSchema)
101101 $ decodedJson = json_decode ($ json );
102102 $ decodedJsonSchema = json_decode ($ childSchema );
103103
104- $ this ->validator ->check ($ decodedJson , $ decodedJsonSchema );
104+ $ this ->validator ->validate ($ decodedJson , $ decodedJsonSchema );
105105 $ this ->assertTrue ($ this ->validator ->isValid ());
106106 }
107107
0 commit comments