From 806b982a5ef265b3890b69b1a22e5401539a0a6a Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 18 Oct 2023 22:34:07 +0200 Subject: [PATCH] Fix approvals extension tests --- .../sfvl/doctesting/junitextension/ApprovalsExtension.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/samples/tech_junit5_extension/src/test/java/org/sfvl/doctesting/junitextension/ApprovalsExtension.java b/samples/tech_junit5_extension/src/test/java/org/sfvl/doctesting/junitextension/ApprovalsExtension.java index 0bf9b38c..69e9cae1 100644 --- a/samples/tech_junit5_extension/src/test/java/org/sfvl/doctesting/junitextension/ApprovalsExtension.java +++ b/samples/tech_junit5_extension/src/test/java/org/sfvl/doctesting/junitextension/ApprovalsExtension.java @@ -56,6 +56,11 @@ public File getApprovedFile(String extensionWithDot) { public File getReceivedFile(String extensionWithDot) { return new File(this.getSourceFilePath() + "/" + this.getApprovalName() + ".received" + extensionWithDot); } + + @Override + public ApprovalNamer addAdditionalInformation(String s) { + return null; + } }; final Options options = new Options()