Skip to content

Commit

Permalink
fix(inclusion_monitor): test new payload parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
alextes committed Oct 10, 2023
1 parent eeda8be commit aee1976
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/phoenix/inclusion_monitor/loki_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ mod tests {
use super::*;

#[test]
fn parse_log_response() {
fn parse_log_response_test() {
let str = File::open("src/phoenix/inclusion_monitor/test_data/payload_logs_7496729.json")
.map(|mut file| {
let mut str = String::new();
Expand All @@ -128,6 +128,6 @@ mod tests {
})
.unwrap();

str.parse::<PayloadLogStats>().unwrap();
parse_log_response(&str).unwrap();
}
}

0 comments on commit aee1976

Please sign in to comment.