diff --git a/tests/integration/_cases/send_event/send_event-raw.trycmd b/tests/integration/_cases/send_event/not_windows/send_event-raw.trycmd similarity index 100% rename from tests/integration/_cases/send_event/send_event-raw.trycmd rename to tests/integration/_cases/send_event/not_windows/send_event-raw.trycmd diff --git a/tests/integration/send_event.rs b/tests/integration/send_event.rs index 07029e5513..8782c9d70a 100644 --- a/tests/integration/send_event.rs +++ b/tests/integration/send_event.rs @@ -1,29 +1,19 @@ 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_not_windows() { let _server = integration::mock_endpoint(EndpointOptions::new("POST", "/api/1337/envelope/", 200)); - integration::register_test("send_event/send_event-raw.trycmd"); + integration::register_test("send_event/not_windows/*.trycmd"); } #[test] -fn command_send_event_file() { +fn command_send_event() { 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"); }