diff --git a/src/test/groovy/au/org/ala/merit/ProjectControllerSpec.groovy b/src/test/groovy/au/org/ala/merit/ProjectControllerSpec.groovy index c161673c8..8926b46fd 100644 --- a/src/test/groovy/au/org/ala/merit/ProjectControllerSpec.groovy +++ b/src/test/groovy/au/org/ala/merit/ProjectControllerSpec.groovy @@ -452,7 +452,7 @@ class ProjectControllerSpec extends Specification implements ControllerUnitTest< String reportId = 'r1' when: - controller.reportPDF(projectId, reportId) + controller.printableReport(projectId, reportId) then: 1 * projectService.doesReportBelongToProject(projectId, reportId) >> false