public void ValidateJsonFrom2NdWebsiteAgainstGivenMinLenghtTypeSchema() { var site = "https://git.io/vpg95"; Given.Client_Has_A_Matchig_Json_Schema <List <MinLengthSchema> >(_fixture); When.A_Request_Is_Sent_To_Validate_JsonData_From_A_Website(_fixture, site); Then.Response_Status_Code_Should_Be(HttpStatusCode.Conflict, _fixture) .There_Should_Be_Validation_Error_In_The_Response(_fixture, ErrorType.MinimumItems); }
public void ValidateJsonFrom2NdWebsiteAgainstGivenRequiredTypeSchema() { var site = "https://git.io/vpg95"; Given.Client_Has_A_Matchig_Json_Schema <List <ExactMatchingRequiredTypeSchema> >(_fixture); When.A_Request_Is_Sent_To_Validate_JsonData_From_A_Website(_fixture, site); Then.Response_Status_Code_Should_Be(HttpStatusCode.OK, _fixture) .There_Should_Be_No_Error_In_The_Response(_fixture); }