-2

help please. trying using in wiremock dynamic data

Wiremock editing in intellij idea

"expiresAt": "{{now offset='1 hour' timezone='Australia/Sydney' format='unix'}}",

but got error when ask this url

java.lang.IllegalArgumentException: No enum constant com.github.tomakehurst.wiremock.extension.responsetemplating.helpers.DateOffset.Unit.HOUR

1 Answer 1

3

The correct form is 1 hours, even if singular.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.