Skip to content

Commit

Permalink
correct test case test_validate_valid_jobspec (#629)
Browse files Browse the repository at this point in the history
Signed-off-by: Johnson Shih <[email protected]>
  • Loading branch information
johnsonshih committed Jul 17, 2023
1 parent 08c9ac7 commit cdd1ae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webhooks/validating/configuration/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ mod tests {
async fn test_validate_valid_jobspec() {
let mut app = test::init_service(App::new().service(validate)).await;
let valid: AdmissionReview =
serde_json::from_str(&get_valid_admission_review_with_broker_pod_spec())
serde_json::from_str(&get_valid_admission_review_with_broker_job_spec())
.expect("v1.AdmissionReview JSON");
let rqst = test::TestRequest::post()
.uri("/validate")
Expand Down

0 comments on commit cdd1ae5

Please sign in to comment.