From a9f96f91392bb02416cfd216792c2006a088567f Mon Sep 17 00:00:00 2001 From: Daniel Szoke Date: Thu, 7 Nov 2024 15:51:15 +0100 Subject: [PATCH] test(send-envelope): batch tests together --- tests/integration/send_envelope.rs | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/tests/integration/send_envelope.rs b/tests/integration/send_envelope.rs index 7eb6fcfe7c..a6d38f03d1 100644 --- a/tests/integration/send_envelope.rs +++ b/tests/integration/send_envelope.rs @@ -3,25 +3,8 @@ use crate::integration; use super::EndpointOptions; #[test] -fn command_send_envelope_help() { - integration::register_test("send_envelope/send_envelope-help.trycmd"); -} - -#[test] -fn command_send_envelope_no_file() { - integration::register_test("send_envelope/send_envelope-no-file.trycmd"); -} - -#[test] -fn command_send_envelope_file() { - let _server = - integration::mock_endpoint(EndpointOptions::new("POST", "/api/1337/envelope/", 200)); - integration::register_test("send_envelope/send_envelope-file.trycmd"); -} - -#[test] -fn command_send_envelope_with_logging() { +fn command_send_envelope() { let _server = integration::mock_endpoint(EndpointOptions::new("POST", "/api/1337/envelope/", 200)); - integration::register_test("send_envelope/send_envelope-file-log.trycmd"); + integration::register_test("send_envelope/*.trycmd"); }