File tree 2 files changed +23
-3
lines changed
src/test/java/dev/openfeature/contrib/providers/flipt
2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 36
36
<scope >test</scope >
37
37
</dependency >
38
38
39
+ <dependency >
40
+ <groupId >com.fasterxml.jackson.core</groupId >
41
+ <artifactId >jackson-core</artifactId >
42
+ <version >2.16.1</version >
43
+ <scope >test</scope >
44
+ </dependency >
45
+
46
+ <dependency >
47
+ <groupId >com.fasterxml.jackson.core</groupId >
48
+ <artifactId >jackson-databind</artifactId >
49
+ <version >2.16.1</version >
50
+ <scope >test</scope >
51
+ </dependency >
52
+
53
+ <dependency >
54
+ <groupId >com.fasterxml.jackson.core</groupId >
55
+ <artifactId >jackson-annotations</artifactId >
56
+ <version >2.16.1</version >
57
+ <scope >test</scope >
58
+ </dependency >
59
+
39
60
<dependency >
40
61
<groupId >org.apache.logging.log4j</groupId >
41
62
<artifactId >log4j-slf4j2-impl</artifactId >
42
63
<version >2.22.1</version >
43
64
<scope >test</scope >
44
65
</dependency >
45
-
46
66
</dependencies >
47
67
</project >
Original file line number Diff line number Diff line change @@ -71,12 +71,12 @@ public void shutdown() {
71
71
private void mockFliptAPI (String url , String resourceName , String flagKey ) {
72
72
stubFor (
73
73
post (urlEqualTo (url ))
74
- .withHeader ("Content-Type" , equalTo ("application/json" ))
74
+ .withHeader ("Content-Type" , equalTo ("application/json; charset=UTF-8 " ))
75
75
.withRequestBody (WireMock .containing (flagKey ))
76
76
.willReturn (
77
77
aResponse ()
78
78
.withStatus (200 )
79
- .withHeader ("Content-Type" , "application/json" )
79
+ .withHeader ("Content-Type" , "application/json; charset=UTF-8 " )
80
80
.withBody (readResourceFileContent (resourceName ))));
81
81
}
82
82
You can’t perform that action at this time.
0 commit comments