Skip to content

Commit

Permalink
feat: Add evaluation details to finally hook stage open-feature#1246
Browse files Browse the repository at this point in the history
Signed-off-by: christian.lutnik <[email protected]>
  • Loading branch information
chrfwow committed Dec 23, 2024
1 parent 6011d48 commit 4f1919d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/test/java/dev/openfeature/sdk/HookSpecTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -655,16 +655,6 @@ private Client getClient(FeatureProvider provider) {
return api.getClient();
}

private Client getClient(String domain, FeatureProvider provider) {
OpenFeatureAPI api = OpenFeatureAPI.getInstance();
if (provider == null) {
FeatureProviderTestUtils.setFeatureProvider(domain, TestEventsProvider.newInitializedTestEventsProvider());
} else {
FeatureProviderTestUtils.setFeatureProvider(domain, provider);
}
return api.getClient(domain);
}

@Specification(number = "4.3.1", text = "Hooks MUST specify at least one stage.")
@Test
void default_methods_so_impossible() {
Expand Down

0 comments on commit 4f1919d

Please sign in to comment.