Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FeelEngineClock is not set using the builder #188

Closed
saig0 opened this issue Sep 21, 2020 · 0 comments · Fixed by #189
Closed

FeelEngineClock is not set using the builder #188

saig0 opened this issue Sep 21, 2020 · 0 comments · Fixed by #189
Assignees
Labels
scope: Camunda 8 Required in the context of Camunda 8 type: bug

Comments

@saig0
Copy link
Member

saig0 commented Sep 21, 2020

Describe the bug
The FeelEngine can be created by providing a FeelEngineClock. This works when using the constructor but doesn't work when using the builder.

To Reproduce

  1. Create the FeelEngine using the builder and provide a clock
  2. Set a fixed date on the clock
  3. Evaluate the expression now()
  4. Verify that the result of the evaluation is not the time that is set in the clock

Expected behavior
The engine uses the clock.

Environment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: Camunda 8 Required in the context of Camunda 8 type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant