Skip to content

Commit

Permalink
Add testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
erikbosch authored and SebastianSchildt committed Jan 2, 2025
1 parent 4f182f6 commit e0031c0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions databroker/src/grpc/kuksa_val_v2/val.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2253,6 +2253,10 @@ mod tests {

assert_eq!(list_response.metadata.first().unwrap().min, min);
assert_eq!(list_response.metadata.first().unwrap().max, max);
assert_eq!(
list_response.metadata.first().unwrap().path,
"test.datapoint1".to_string()
);
}
Err(_status) => panic!("failed to execute get request"),
}
Expand Down

0 comments on commit e0031c0

Please sign in to comment.