Changeset 5379
- Timestamp:
- 08/28/08 02:14:48 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
openmrs/trunk/test/api/org/openmrs/test/api/EncounterServiceTest.java
r5374 r5379 43 43 import org.openmrs.test.testutil.BaseContextSensitiveTest; 44 44 45 import sun.security.krb5.internal.Ticket;46 47 45 /** 48 46 * Tests all methods in the {@link EncounterService} … … 148 146 * and have the obs automatically persisted. 149 147 * 150 * Added to test bug reported in {@link Ticket#827}148 * Added to test bug reported in ticket #827 151 149 * 152 150 * @throws Exception … … 285 283 obs.setValueNumeric(50d); 286 284 encounter.addObs(obs); 287 288 // make sure it was added289 assertTrue(obs.getEncounter().equals(encounter));290 291 // there should not be an obs id before saving the encounter292 assertNull(obs.getObsId());293 285 294 286 es.saveEncounter(encounter);