File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public function testValidFilesParseWithoutError(string $yamlPath): void
2828 $ pc = $ this ->parser ->parseFile ($ yamlPath );
2929 $ this ->assertNotNull ($ pc , $ yamlPath );
3030
31- $ this ->assertTrue ($ this ->parser ->validate ($ yamlPath ));
31+ $ this ->assertTrue ($ this ->parser ->isValid ($ yamlPath ));
3232 }
3333
3434 /**
@@ -39,7 +39,7 @@ public function testInvalidFilesRaiseValidation(string $yamlPath): void
3939 $ this ->expectException (ValidationException::class);
4040 $ this ->parser ->parseFile ($ yamlPath );
4141
42- $ valid = $ this ->parser ->validate ($ yamlPath );
42+ $ valid = $ this ->parser ->isValid ($ yamlPath );
4343 $ this ->assertEquals (false , $ valid );
4444 }
4545
@@ -48,7 +48,7 @@ public function testInvalidFilesRaiseValidation(string $yamlPath): void
4848 */
4949 public function testInvalidFilesValidate (string $ yamlPath ): void
5050 {
51- $ this ->assertFalse ($ this ->parser ->validate ($ yamlPath ));
51+ $ this ->assertFalse ($ this ->parser ->isValid ($ yamlPath ));
5252 }
5353
5454 public static function validFilesProvider (): array
You can’t perform that action at this time.
0 commit comments