From 6e7462f54db53d5dd2ee456a4acd763af3223d59 Mon Sep 17 00:00:00 2001 From: pep Date: Wed, 4 Sep 2024 22:48:44 +0200 Subject: [PATCH] forgejo-hooks: Rename issue-new test to issue-opened Signed-off-by: pep --- forgejo-hooks/src/tests/{issue-new.json => issue-opened.json} | 0 forgejo-hooks/src/tests/mod.rs | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename forgejo-hooks/src/tests/{issue-new.json => issue-opened.json} (100%) 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); }