From 85882f209e9c631ceb85a6dc39776aea80f641f1 Mon Sep 17 00:00:00 2001 From: Roman Strobl Date: Fri, 20 Dec 2024 10:43:02 +0100 Subject: [PATCH] Fix tests --- .../client/model/request/OperationTemplateCreateRequest.java | 2 +- .../client/model/request/OperationTemplateUpdateRequest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/powerauth-client-model/src/main/java/com/wultra/security/powerauth/client/model/request/OperationTemplateCreateRequest.java b/powerauth-client-model/src/main/java/com/wultra/security/powerauth/client/model/request/OperationTemplateCreateRequest.java index 7e00fee35..db5bf9ae3 100644 --- a/powerauth-client-model/src/main/java/com/wultra/security/powerauth/client/model/request/OperationTemplateCreateRequest.java +++ b/powerauth-client-model/src/main/java/com/wultra/security/powerauth/client/model/request/OperationTemplateCreateRequest.java @@ -66,7 +66,7 @@ public class OperationTemplateCreateRequest { @JsonSetter(nulls = Nulls.SKIP) @Schema(description = "Allowed signature types") @NotEmpty(message = "Template signature types must contain at least one value") - private final List<@NotBlank SignatureType> signatureType = new ArrayList<>(); + private final List signatureType = new ArrayList<>(); /** * How many failed attempts should be allowed for the operation. diff --git a/powerauth-client-model/src/main/java/com/wultra/security/powerauth/client/model/request/OperationTemplateUpdateRequest.java b/powerauth-client-model/src/main/java/com/wultra/security/powerauth/client/model/request/OperationTemplateUpdateRequest.java index 73f43404e..c5b4365be 100644 --- a/powerauth-client-model/src/main/java/com/wultra/security/powerauth/client/model/request/OperationTemplateUpdateRequest.java +++ b/powerauth-client-model/src/main/java/com/wultra/security/powerauth/client/model/request/OperationTemplateUpdateRequest.java @@ -54,7 +54,7 @@ public class OperationTemplateUpdateRequest { @Schema(description = "Allowed signature types") @NotEmpty(message = "Template signature types must contain at least one value") @JsonSetter(nulls = Nulls.SKIP) - private final List<@NotBlank SignatureType> signatureType = new ArrayList<>(); + private final List signatureType = new ArrayList<>(); @Schema(description = "How many failed attempts should be allowed for the operation") @NotNull(message = "Template expiration value must not be null when updating operation template")