Skip to content

Commit

Permalink
test(send-envelope): batch tests together
Browse files Browse the repository at this point in the history
  • Loading branch information
szokeasaurusrex committed Nov 7, 2024
1 parent 42d3bcf commit a9f96f9
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions tests/integration/send_envelope.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

0 comments on commit a9f96f9

Please sign in to comment.