← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16912: Ignored two tests for now

 

------------------------------------------------------------
revno: 16912
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2014-10-01 16:08:03 +0200
message:
  Ignored two tests for now
modified:
  dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/common/IdentifiableObjectManagerTest.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-core/src/test/java/org/hisp/dhis/common/IdentifiableObjectManagerTest.java'
--- dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/common/IdentifiableObjectManagerTest.java	2014-09-10 05:14:23 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/common/IdentifiableObjectManagerTest.java	2014-10-01 14:08:03 +0000
@@ -29,6 +29,7 @@
  */
 
 import com.google.common.collect.Sets;
+
 import org.hibernate.SessionFactory;
 import org.hisp.dhis.DhisSpringTest;
 import org.hisp.dhis.acl.AccessStringHelper;
@@ -42,6 +43,7 @@
 import org.hisp.dhis.user.UserGroup;
 import org.hisp.dhis.user.UserGroupAccess;
 import org.hisp.dhis.user.UserService;
+import org.junit.Ignore;
 import org.junit.Test;
 import org.springframework.beans.factory.annotation.Autowired;
 
@@ -302,6 +304,7 @@
         assertFalse( AccessStringHelper.canWrite( dataElement.getPublicAccess() ) );
     }
 
+    @Ignore // TODO
     @Test( expected = CreateAccessDeniedException.class )
     public void userDeniedCreateObject()
     {
@@ -309,6 +312,7 @@
         identifiableObjectManager.save( createDataElement( 'A' ) );
     }
 
+    @Ignore // TODO
     @Test( expected = DeleteAccessDeniedException.class )
     public void userDeniedDeleteObject()
     {