Skip to content

fix(deps): update dependency com.flagsmith:flagsmith-java-client to v7.3.0 #734

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion providers/flagsmith/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<dependency>
<groupId>com.flagsmith</groupId>
<artifactId>flagsmith-java-client</artifactId>
<version>7.2.0</version>
<version>7.3.0</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ public MockResponse dispatch(RecordedRequest request) {
}
};

final QueueDispatcher errorDispatcher = new QueueDispatcher() {
@SneakyThrows
@Override
public MockResponse dispatch(RecordedRequest request) {
return new MockResponse().setResponseCode(500);
}
};

private static Stream<Arguments> provideKeysForFlagResolution() {
return Stream.of(
Arguments.of("true_key", "getBooleanEvaluation", Boolean.class, "true"),
Expand Down Expand Up @@ -132,9 +140,9 @@ void setUp() throws IOException {
// Error server will always result in FlagsmithApiError's used for
// tests that need to handle this type of error
mockFlagsmithErrorServer = new MockWebServer();
mockFlagsmithErrorServer.setDispatcher(this.errorDispatcher);
mockFlagsmithErrorServer.start();


FlagsmithProviderOptions options = FlagsmithProviderOptions.builder()
.apiKey("API_KEY")
.baseUri(String
Expand Down
Loading