Build: #440 was successful Changes by jpetersen6202 <33636781+jpetersen6202@users.noreply.github.com>
Code commits
Git
-
jpetersen6202 <33636781+jpetersen6202@users.noreply.github.com> 9722809c05a7c12ea50dea62d4ab50f092ca4b69
Added tests for methods in providerManagementUtils (#31)
Added test cases for getSupervisors:
Contribution for PROV-91. Added two test cases for getSupervisors;
Testing that the list returned is not empty after setting a
supervisor/supervisee relationship, Testing that the list returned is
empty on a provider with no supervisor, and testing that the list
returned is of proper length when a supervisor/supervisee relationship
exists.
Added test cases for clearTimeComponent:
Contribution for PROV-91. Added three test cases for clearTimeComponint;
Testing the date returned when passed a day that has already started (
(hour, min, second) != (0, 0, 0) ), testing the date returned when
passed a date with a negative value in the date, and testing the date
returned when passed a day that has just started ( (hour, min, second)
== (0, 0, 0) ).
Added test cases for getSupervisees:
Contribution for PROV-91. Added two test cases for getSupervisees;
Testing that the list returned is not empty after setting a
supervisor/supervisee relationship, Testing that the list returned is
empty on a provider with no supervisee, and testing that the list
returned is of proper length when a supervisor/supervisee relationship
exists.- api/src/test/java/org/openmrs/module/providermanagement/ProviderManagementUtilsTest.java (version 9722809c05a7c12ea50dea62d4ab50f092ca4b69)