diff --git a/notification-publisher/src/test/java/org/dependencytrack/notification/publisher/SendMailPublisherTest.java b/notification-publisher/src/test/java/org/dependencytrack/notification/publisher/SendMailPublisherTest.java index ed552268d..d5cb60d14 100644 --- a/notification-publisher/src/test/java/org/dependencytrack/notification/publisher/SendMailPublisherTest.java +++ b/notification-publisher/src/test/java/org/dependencytrack/notification/publisher/SendMailPublisherTest.java @@ -542,7 +542,7 @@ public void testInformWithNewVulnerableDependencyNotification() throws Exception -------------------------------------------------------------------------------- Project: pkg:maven/org.acme/projectName@projectVersion - Project URL: https://example.com/projects/?uuid=c9c9539a-e381-4b36-ac52-6a7ab83b2c95 + Project URL: https://example.com/projects/c9c9539a-e381-4b36-ac52-6a7ab83b2c95 Component: componentName : componentVersion Component URL: https://example.com/component/?uuid=94f87321-a5d1-4c2f-b2fe-95165debebc6 diff --git a/notification-publisher/src/test/resources/templates/email.peb b/notification-publisher/src/test/resources/templates/email.peb index 93e875cb3..b688b6b02 100644 --- a/notification-publisher/src/test/resources/templates/email.peb +++ b/notification-publisher/src/test/resources/templates/email.peb @@ -17,7 +17,7 @@ Project URL: {{ baseUrl }}/projects/{{ subject.project.uuid }} Other affected projects: {{ baseUrl }}{{ subject.affectedProjectsReference.frontendUri }} {% elseif notification.group == "GROUP_NEW_VULNERABLE_DEPENDENCY" %} Project: {{ subject.project | summarize }} -Project URL: {{ baseUrl }}/projects/?uuid={{ subject.project.uuid }} +Project URL: {{ baseUrl }}/projects/{{ subject.project.uuid }} Component: {{ subject.component | summarize }} Component URL: {{ baseUrl }}/component/?uuid={{ subject.component.uuid }}