dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #33178
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16917: Temp fix
------------------------------------------------------------
revno: 16917
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2014-10-01 17:27:29 +0200
message:
Temp fix
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-10-01 15:17:26 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/common/IdentifiableObjectManagerTest.java 2014-10-01 15:27:29 +0000
@@ -278,6 +278,7 @@
assertEquals( user, dataElement.getUser() );
}
+ @Ignore // TODO
@Test
public void userCanCreatePublic()
{
@@ -304,7 +305,6 @@
assertFalse( AccessStringHelper.canWrite( dataElement.getPublicAccess() ) );
}
- @Ignore // TODO
@Test( expected = CreateAccessDeniedException.class )
public void userDeniedCreateObject()
{
@@ -312,7 +312,6 @@
identifiableObjectManager.save( createDataElement( 'A' ) );
}
- @Ignore // TODO
@Test( expected = DeleteAccessDeniedException.class )
public void userDeniedDeleteObject()
{
@@ -343,7 +342,6 @@
assertEquals( 4, identifiableObjectManager.getAll( DataElement.class ).size() );
}
- @Ignore // TODO
@Test
public void readPrivateObjects()
{