Skip to content

Commit

Permalink
FDP-1919: Move test property to test folder
Browse files Browse the repository at this point in the history
Signed-off-by: Jasper Kamerling <jasper.kamerling@alliander.com>
  • Loading branch information
jasperkamerling committed Feb 9, 2024
1 parent 54d2696 commit 6ef7582
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,17 @@ import org.awaitility.Awaitility
import org.eclipse.californium.core.coap.CoAP
import org.eclipse.californium.core.coap.MediaTypeRegistry
import org.eclipse.californium.core.coap.Request
import org.gxf.standalonenotifyinggateway.coaphttpproxy.coap.configuration.properties.PskStubProperties
import org.gxf.standalonenotifyinggateway.coaphttpproxy.configuration.PskStubProperties
import org.gxf.standalonenotifyinggateway.coaphttpproxy.http.HttpClient
import org.gxf.standalonenotifyinggateway.coaphttpproxy.http.configuration.properties.HttpProperties
import org.junit.jupiter.api.AfterEach
import org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.context.properties.EnableConfigurationProperties
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.context.annotation.Import
import java.net.URL
import java.net.URI
import java.time.Duration

@Import(IntegrationTestCoapClient::class)
Expand Down Expand Up @@ -61,7 +60,7 @@ class IntegrationTest {
}
""")

val url = URL(httpProperties.url)
val url = URI(httpProperties.url).toURL()
wiremock = WireMockServer(url.port)
wiremock.stubFor(wiremockStubErrorEndpoint)
wiremock.stubFor(wiremockStubOk)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: Apache-2.0

package org.gxf.standalonenotifyinggateway.coaphttpproxy.coap.configuration.properties
package org.gxf.standalonenotifyinggateway.coaphttpproxy.configuration

import org.springframework.boot.context.properties.ConfigurationProperties

Expand Down

0 comments on commit 6ef7582

Please sign in to comment.