Skip to content

Commit a67f4e6

Browse files
erikboschSebastianSchildt
authored andcommitted
Add testcase
1 parent 1f562b3 commit a67f4e6

File tree

1 file changed

+4
-0
lines changed
  • databroker/src/grpc/kuksa_val_v2

1 file changed

+4
-0
lines changed

databroker/src/grpc/kuksa_val_v2/val.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2253,6 +2253,10 @@ mod tests {
22532253

22542254
assert_eq!(list_response.metadata.first().unwrap().min, min);
22552255
assert_eq!(list_response.metadata.first().unwrap().max, max);
2256+
assert_eq!(
2257+
list_response.metadata.first().unwrap().path,
2258+
"test.datapoint1".to_string()
2259+
);
22562260
}
22572261
Err(_status) => panic!("failed to execute get request"),
22582262
}

0 commit comments

Comments
 (0)