Skip to content

Commit 3691b52

Browse files
committed
Fix failing test
Signed-off-by: christian.lutnik <[email protected]>
1 parent 9a73fff commit 3691b52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/test/java/dev/openfeature/sdk/FlagEvaluationSpecTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ void api_context() {
487487
String contextKey = "some-key";
488488
String contextValue = "some-value";
489489
DoSomethingProvider provider = spy(new DoSomethingProvider());
490-
FeatureProviderTestUtils.setFeatureProvider(provider);
490+
api.setProviderAndWait(provider);
491491

492492
Map<String, Value> attributes = new HashMap<>();
493493
attributes.put(contextKey, new Value(contextValue));

0 commit comments

Comments
 (0)