Skip to content

Commit

Permalink
modified test to use locator and not uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
aruokhai committed Sep 4, 2023
1 parent 3e659a8 commit 2f84a27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion teos/src/api/internal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ mod tests_private_api {

assert_eq!(response.available_slots, SLOTS - 1);
assert_eq!(response.subscription_expiry, START_HEIGHT as u32 + DURATION);
assert_eq!(response.appointments, Vec::from([uuid.to_vec()]));
assert_eq!(response.appointments, Vec::from([appointment.locator.to_vec()]));
}

#[tokio::test]
Expand Down

0 comments on commit 2f84a27

Please sign in to comment.