Skip to content

Commit

Permalink
Merge pull request #38 from TheJacksonLaboratory/feature/query-patter…
Browse files Browse the repository at this point in the history
…n-validation

fixing tests
  • Loading branch information
iimpulse authored Oct 23, 2024
2 parents b7344bb + fed1c00 commit 3705f90
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ void negative_search_by_bad_entity(RequestSpecification spec){

@Test
void negative_search_bad_query(RequestSpecification spec){
spec.when().get("/api/network/search/disease?q=,marf").then().statusCode(400);
spec.when().get("/api/network/search/disease?q=( )").then().statusCode(400);
spec.when().get("/api/network/search/disease?q=%20Cardiac%20tumors%20(").then().statusCode(400);
spec.when().get("/api/network/search/disease?q=NM_000314.8:c.-511G%3EA").then().statusCode(400);
}
Expand Down

0 comments on commit 3705f90

Please sign in to comment.