Skip to content

Commit

Permalink
Applying auto format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
wluyima committed Mar 11, 2014
1 parent 99284e7 commit f19be28
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions api/src/test/java/org/openmrs/OrderEntryIntegrationTest.java
Expand Up @@ -181,10 +181,10 @@ public void shouldReviseAnOrder() throws Exception {
revisedOrder.setStartDate(new Date());
revisedOrder.setOrderer(providerService.getProvider(1));
orderService.saveOrder(revisedOrder, null);

//If the time is too close, the original order may be returned because it
//dateStopped will be exactly the same as the asOfDate(now) to the millisecond
Thread.sleep(1);
//If the time is too close, the original order may be returned because it
//dateStopped will be exactly the same as the asOfDate(now) to the millisecond
Thread.sleep(1);
List<Order> activeOrders = orderService.getActiveOrders(patient, null, null, null);
assertEquals(originalOrderCount, activeOrders.size());
assertFalse(OrderUtil.isOrderActive(originalOrder, null));
Expand Down
6 changes: 3 additions & 3 deletions api/src/test/java/org/openmrs/api/OrderServiceTest.java
Expand Up @@ -908,9 +908,9 @@ public void saveOrder_shouldSaveARevisedOrder() throws Exception {
revisedOrder.setStartDate(new Date());
revisedOrder.setOrderer(providerService.getProvider(1));
orderService.saveOrder(revisedOrder, null);

//If the time is too close, the original order may be returned because it
//dateStopped will be exactly the same as the asOfDate(now) to the millisecond
//If the time is too close, the original order may be returned because it
//dateStopped will be exactly the same as the asOfDate(now) to the millisecond
Thread.sleep(1);
List<Order> activeOrders = orderService.getActiveOrders(patient, null, null, null);
assertEquals(originalOrderCount, activeOrders.size());
Expand Down

0 comments on commit f19be28

Please sign in to comment.