[jboss-jira] [JBoss JIRA] (DROOLS-1986) Issue with Date format while running test scenario

Toni Rikkola (Jira) issues at jboss.org
Fri Jan 11 10:30:01 EST 2019


     [ https://issues.jboss.org/browse/DROOLS-1986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Toni Rikkola closed DROOLS-1986.
--------------------------------
    Resolution: Explained


New Test Scenarios editor will be better.

> Issue with Date format while running test scenario
> --------------------------------------------------
>
>                 Key: DROOLS-1986
>                 URL: https://issues.jboss.org/browse/DROOLS-1986
>             Project: Drools
>          Issue Type: Bug
>          Components: Test Scenarios Editor
>         Environment: Guvnor 5.2 and 5.3 on Linux
>            Reporter: Alex N
>            Assignee: Toni Rikkola
>            Priority: Major
>
> The test scenario fails when comparing dates in the Expects section. The test scenario has date in format dd-MMM-yyyy while the value returned by the rule is in java.util.Date format e.g. Thu Apr 24 00:00:00 EST 1975. Hence the assertion birthDate equals 24-Apr-1975 fails while running the test scenario.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list