Skip to content

Commit df20018

Browse files
committed
chore: try to fix flipt provider test
Signed-off-by: Mark Phelps <[email protected]>
1 parent 3845b63 commit df20018

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: providers/flipt/src/test/java/dev/openfeature/contrib/providers/flipt/FliptProviderTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class FliptProviderTest {
5757

5858
@BeforeAll
5959
void setUp(WireMockRuntimeInfo wmRuntimeInfo) {
60-
apiUrl = "http://localhost:" + wmRuntimeInfo.getHttpPort();
60+
apiUrl = "http://localhost:" + wmRuntimeInfo.getHttpPort();
6161
fliptProvider = buildFliptProvider();
6262
OpenFeatureAPI.getInstance().setProviderAndWait("sync", fliptProvider);
6363
client = OpenFeatureAPI.getInstance().getClient("sync");
@@ -76,7 +76,7 @@ private void mockFliptAPI(String url, String resourceName, String flagKey) {
7676
.willReturn(
7777
aResponse()
7878
.withStatus(200)
79-
.withHeader("Content-Type", "application/json")
79+
.withHeader("Content-Type", "application/json; charset=UTF-8")
8080
.withBody(readResourceFileContent(resourceName))));
8181
}
8282

0 commit comments

Comments
 (0)