diff --git a/tests/integration/send_event.rs b/tests/integration/send_event.rs index 07029e5513..416ccf5e19 100644 --- a/tests/integration/send_event.rs +++ b/tests/integration/send_event.rs @@ -1,29 +1,8 @@ use crate::integration::{self, EndpointOptions}; #[test] -fn command_send_event_help() { - integration::register_test("send_event/send_event-help.trycmd"); -} - -// I have no idea why this is timing out on Windows. -// I verified it manually, and this command works just fine. — Kamil -// TODO: Fix windows timeout. -#[cfg(not(windows))] -#[test] -fn command_send_event_raw() { +fn command_send_event() { let _server = integration::mock_endpoint(EndpointOptions::new("POST", "/api/1337/envelope/", 200)); - integration::register_test("send_event/send_event-raw.trycmd"); -} - -#[test] -fn command_send_event_file() { - let _server = - integration::mock_endpoint(EndpointOptions::new("POST", "/api/1337/envelope/", 200)); - integration::register_test("send_event/send_event-file.trycmd"); -} - -#[test] -fn command_send_event_raw_fail() { - integration::register_test("send_event/send_event-raw-fail.trycmd"); + integration::register_test("send_event/*.trycmd"); }