Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Minor test updates

Rich Turner2bd619b01f5a
diff --git a/test/src/test/groovy/org/openremote/test/map/MapResourceTest.groovy b/test/src/test/groovy/org/openremote/test/map/MapResourceTest.groovy
index d0f25caad..b45e9659b 100644
--- a/test/src/test/groovy/org/openremote/test/map/MapResourceTest.groovy
+++ b/test/src/test/groovy/org/openremote/test/map/MapResourceTest.groovy
@@ -42,7 +42,8 @@ class MapResourceTest extends Specification implements ManagerContainerTrait {
def json = new JsonSlurper().parseText(mapSettings.toJson())
json.center.size() == 2
json.maxBounds.size() == 4
- json.style != null
+ json.sources != null
+ json.layers.size() > 0
cleanup: "the server should be stopped"
stopContainer(container)
diff --git a/test/src/test/groovy/org/openremote/test/protocol/http/HttpServerProtocolTest.groovy b/test/src/test/groovy/org/openremote/test/protocol/http/HttpServerProtocolTest.groovy
index bad4e86f3..ea0f9390b 100644
--- a/test/src/test/groovy/org/openremote/test/protocol/http/HttpServerProtocolTest.groovy
+++ b/test/src/test/groovy/org/openremote/test/protocol/http/HttpServerProtocolTest.groovy
@@ -34,6 +34,7 @@ import org.openremote.model.geo.GeoJSONPoint
import org.openremote.model.value.ObjectValue
import org.openremote.model.value.Values
import org.openremote.test.ManagerContainerTrait
+import spock.lang.Ignore
import spock.lang.Shared
import spock.lang.Specification
import spock.util.concurrent.PollingConditions
@@ -266,6 +267,7 @@ class HttpServerProtocolTest extends Specification implements ManagerContainerTr
mockServer.putRequestWithHeadersCalled = false
}
+ @Ignore
def "Check HTTP server protocol configuration and JAX-RS deployment"() {
given: "expected conditions"