diff --git a/forgejo-hooks/src/tests/issue-new.json b/forgejo-hooks/src/tests/issue-opened.json similarity index 100% rename from forgejo-hooks/src/tests/issue-new.json rename to forgejo-hooks/src/tests/issue-opened.json diff --git a/forgejo-hooks/src/tests/mod.rs b/forgejo-hooks/src/tests/mod.rs index c9685dd..adc9245 100644 --- a/forgejo-hooks/src/tests/mod.rs +++ b/forgejo-hooks/src/tests/mod.rs @@ -54,8 +54,8 @@ fn push_payload() { } #[test] -fn issue_new() { - let payload = std::fs::read_to_string("src/tests/issue-new.json").unwrap(); +fn issue_opened() { + let payload = std::fs::read_to_string("src/tests/issue-opened.json").unwrap(); let _ = parse_roundtrip::(&payload); }