From 4f1919d822f726061431368a18c16f2efce2cd34 Mon Sep 17 00:00:00 2001 From: "christian.lutnik" Date: Mon, 23 Dec 2024 11:05:34 +0100 Subject: [PATCH] feat: Add evaluation details to finally hook stage #1246 Signed-off-by: christian.lutnik --- src/test/java/dev/openfeature/sdk/HookSpecTest.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/test/java/dev/openfeature/sdk/HookSpecTest.java b/src/test/java/dev/openfeature/sdk/HookSpecTest.java index 45855781..7ab01c0a 100644 --- a/src/test/java/dev/openfeature/sdk/HookSpecTest.java +++ b/src/test/java/dev/openfeature/sdk/HookSpecTest.java @@ -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() {