Open timja opened 5 years ago
FYI @MRamonLeon
@timja Would adding one of the schema.validate("filename")
functions be sufficient here? In the sense validation before application ?
@timja Would adding one of the
schema.validate("filename")
functions be sufficient here? In the sense validation before application ?
not quite sure, but basically what you've done in your testing PR but adding a call to this in the uber abstract test
So basically call the function from this test ?
https://github.com/jenkinsci/configuration-as-code-plugin/blob/1009f950babffb896a67f9ebae3d07cfcf537f5f/plugin/src/test/java/io/jenkins/plugins/casc/misc/RoundTripAbstractTest.java#L47
RoundTripAbstractTest should be updated to validate the json schema as well