Skip to content

Commit afbb095

Browse files
committed
test: fix
1 parent 8777070 commit afbb095

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

plugins/repos-fix/src/jira.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,11 @@ mod tests {
347347

348348
#[test]
349349
fn parse_jira_input_with_url() {
350-
let result = parse_jira_input("https://company.atlassian.net/browse/MAINT-1234").unwrap();
350+
let result = parse_jira_input_with_base_url(
351+
"https://company.atlassian.net/browse/MAINT-1234",
352+
None, // Don't require JIRA_URL env var
353+
)
354+
.unwrap();
351355
assert_eq!(result.0, "https://company.atlassian.net");
352356
assert_eq!(result.1, "MAINT-1234");
353357
}

0 commit comments

Comments
 (0)