Build: #382 failed

Job: Integration Tests failed

Stages & jobs

  1. Build and Tests

Code commits

Git

  • Wyclif Luyima

    Wyclif Luyima 01fd23f408081e10b0c694180475c6f3cf6fe54b

    TRUNK-4519 - Subtract a millisecond from a date when calculating end dates
    Remove unnecessary test. Following tests cover this functionality well.

    saveOrder_shouldNotChangeTheAutoExpireDateIfItHasATimeComponent
    saveOrder_shouldRollTheAutoExpireDateToTheEndOfTheDayIfItHasNoTimeComponent

    Fix tests

    Change date format from hh-mm-ss to hh:mm:ss

    Move reducing one millisecond to SimpleDosingInstructions

    • api/src/main/java/org/openmrs/Duration.java (version 01fd23f408081e10b0c694180475c6f3cf6fe54b)
    • api/src/main/java/org/openmrs/SimpleDosingInstructions.java (version 01fd23f408081e10b0c694180475c6f3cf6fe54b)
    • api/src/test/java/org/openmrs/DurationTest.java (version 01fd23f408081e10b0c694180475c6f3cf6fe54b)
    • api/src/test/java/org/openmrs/SimpleDosingInstructionsTest.java (version 01fd23f408081e10b0c694180475c6f3cf6fe54b)
    • api/src/test/java/org/openmrs/api/OrderServiceTest.java (version 01fd23f408081e10b0c694180475c6f3cf6fe54b)
    • api/src/test/java/org/openmrs/test/TestUtil.java (version 01fd23f408081e10b0c694180475c6f3cf6fe54b)