Enabled check for Importer Test Case

This commit is contained in:
afabiani 2015-05-14 15:13:27 +02:00
parent 3877670dc5
commit 51bc4650c2

View File

@ -41,7 +41,10 @@ public class GeoserverRESTImporterTest extends GeoserverRESTTest {
@Test @Test
public void testShapeFileImport() throws Exception { public void testShapeFileImport() throws Exception {
// Creates a new Importer Context and gets back the ID if (!enabled())
return;
// Creates a new Importer Context and gets back the ID
int i = publisher.postNewImport(); int i = publisher.postNewImport();
// Attaches to the new Importer Context a Task pointing to a shapefile's zip archive // Attaches to the new Importer Context a Task pointing to a shapefile's zip archive