← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 22257: minor test fix

 

------------------------------------------------------------
revno: 22257
committer: Morten Olav Hansen <morten@xxxxxxxxx>
branch nick: dhis2
timestamp: Sat 2016-03-12 13:45:56 +0700
message:
  minor test fix
modified:
  dhis-2/dhis-services/dhis-service-dxf2/src/test/java/org/hisp/dhis/dxf2/metadata2/objectbundle/ObjectBundleServiceTest.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-dxf2/src/test/java/org/hisp/dhis/dxf2/metadata2/objectbundle/ObjectBundleServiceTest.java'
--- dhis-2/dhis-services/dhis-service-dxf2/src/test/java/org/hisp/dhis/dxf2/metadata2/objectbundle/ObjectBundleServiceTest.java	2016-03-12 06:43:22 +0000
+++ dhis-2/dhis-services/dhis-service-dxf2/src/test/java/org/hisp/dhis/dxf2/metadata2/objectbundle/ObjectBundleServiceTest.java	2016-03-12 06:45:56 +0000
@@ -1137,6 +1137,8 @@
 
         assertNotNull( userA.getUserCredentials().getUser() );
         assertNotNull( userB.getUserCredentials().getUser() );
+        assertNotNull( userA.getUserCredentials().getUser().getUserCredentials() );
+        assertNotNull( userB.getUserCredentials().getUser().getUserCredentials() );
         assertEquals( "admin", userA.getUserCredentials().getUser().getUserCredentials().getUsername() );
         assertEquals( "admin", userB.getUserCredentials().getUser().getUserCredentials().getUsername() );
     }