Skip to content

Commit

Permalink
Made change to use pre generated uuid in tests - TRUNK-3652
Browse files Browse the repository at this point in the history
  • Loading branch information
wluyima committed Aug 16, 2013
1 parent 19e54f4 commit ad213ee
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions api/src/test/java/org/openmrs/PatientStateTest.java
Expand Up @@ -14,7 +14,6 @@
package org.openmrs;

import java.util.Date;
import java.util.UUID;

import org.junit.Assert;
import org.junit.Before;
Expand Down Expand Up @@ -293,8 +292,8 @@ public void compareTo_shouldPassIfTwoStatesHaveTheSameStartDateEndDateAndUuid()
@Test
@Verifies(value = "return positive or negative if two states have the same start date and end date but different uuids", method = "compareTo(PatientState)")
public void compareTo_shouldReturnPositiveOrNegativeIfTwoStatesHaveTheSameStartDatesEndDatesAndUuids() throws Exception {
uuid1 = UUID.randomUUID().toString();
uuid2 = UUID.randomUUID().toString();
uuid1 = "some uuid 1";
uuid2 = "some uuid 2";

PatientState patientState = new PatientState();
patientState.setStartDate(leftRange);
Expand Down

0 comments on commit ad213ee

Please sign in to comment.