=== modified file 'dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/mapping/MappingServiceTest.java' --- dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/mapping/MappingServiceTest.java 2012-10-25 14:58:43 +0000 +++ dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/mapping/MappingServiceTest.java 2012-10-26 07:31:39 +0000 @@ -280,23 +280,6 @@ } @Test - public void testGetDeleteMapViewByName() - { - MapView mapView = new MapView( LAYER_THEMATIC1, "MapViewA", VALUE_TYPE_INDICATOR, indicatorGroup, - indicator, dataElementGroup, dataElement, period, - organisationUnit, organisationUnitLevel, LEGEND_TYPE_AUTOMATIC, 1, 1, "A", "B", - mapLegendSet, 5, 20, 1 ); - - int id = mappingService.addMapView( mapView ); - - mapView = mappingService.getMapViewByName( "MapViewA" ); - - mappingService.deleteMapView( mapView ); - - assertNull( mappingService.getMapView( id ) ); - } - - @Test public void testGetAllMapViews() { MapView mapView1 = new MapView( LAYER_THEMATIC1, "MapViewA", VALUE_TYPE_INDICATOR, indicatorGroup,