Moved network services tests back as unit tests (#3639)

This commit is contained in:
Shams Asari
2018-07-18 11:03:45 +01:00
committed by GitHub
parent c0207b2219
commit ff607e1bc1
4 changed files with 11 additions and 14 deletions

View File

@ -36,7 +36,7 @@ import javax.ws.rs.core.Response.ok
import javax.ws.rs.core.Response.status
class NetworkMapServer(private val pollInterval: Duration,
hostAndPort: NetworkHostAndPort,
hostAndPort: NetworkHostAndPort = NetworkHostAndPort("localhost", 0),
private val networkMapCertAndKeyPair: CertificateAndKeyPair = createDevNetworkMapCa(),
private val myHostNameValue: String = "test.host.name",
vararg additionalServices: Any) : Closeable {