Skip to content

Commit

Permalink
Added test
Browse files Browse the repository at this point in the history
  • Loading branch information
ikrivosheev committed Oct 24, 2024
1 parent 6f356fe commit 55f750f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/overview_tests.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
use rabbitmq_http_client::blocking::Client;

mod common;
use crate::common::{endpoint, PASSWORD, USERNAME};

#[test]
fn test_overview() {
let endpoint = endpoint();
let rc = Client::new(&endpoint, USERNAME, PASSWORD);

let result1 = rc.overview();
assert!(result1.is_ok(), "overview returned {:?}", result1);
}

0 comments on commit 55f750f

Please sign in to comment.