Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

Changeset 5379

Show
Ignore:
Timestamp:
08/28/08 02:14:48 (3 months ago)
Author:
bwolfe
Message:

Cleaning up unit test for ticket #827

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs/trunk/test/api/org/openmrs/test/api/EncounterServiceTest.java

    r5374 r5379  
    4343import org.openmrs.test.testutil.BaseContextSensitiveTest; 
    4444 
    45 import sun.security.krb5.internal.Ticket; 
    46  
    4745/** 
    4846 * Tests all methods in the {@link EncounterService} 
     
    148146         * and have the obs automatically persisted. 
    149147         *  
    150          * Added to test bug reported in {@link Ticket#827} 
     148         * Added to test bug reported in ticket #827 
    151149         *  
    152150         * @throws Exception 
     
    285283                obs.setValueNumeric(50d); 
    286284                encounter.addObs(obs); 
    287                  
    288                 // make sure it was added 
    289                 assertTrue(obs.getEncounter().equals(encounter)); 
    290                  
    291                 // there should not be an obs id before saving the encounter 
    292                 assertNull(obs.getObsId()); 
    293285                 
    294286                es.saveEncounter(encounter);