File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/test/java/dev/openfeature/sdk Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ void reset_logs() {
42
42
@ DisplayName ("should not throw exception if hook has different type argument than hookContext" )
43
43
void shouldNotThrowExceptionIfHookHasDifferentTypeArgumentThanHookContext () {
44
44
OpenFeatureAPI api = OpenFeatureAPI .getInstance ();
45
- api .setProvider ("shouldNotThrowExceptionIfHookHasDifferentTypeArgumentThanHookContext" , new DoSomethingProvider ());
45
+ api .setProviderAndWait ("shouldNotThrowExceptionIfHookHasDifferentTypeArgumentThanHookContext" , new DoSomethingProvider ());
46
46
Client client = api .getClient ("shouldNotThrowExceptionIfHookHasDifferentTypeArgumentThanHookContext" );
47
47
client .addHooks (mockBooleanHook (), mockStringHook ());
48
48
FlagEvaluationDetails <Boolean > actual = client .getBooleanDetails ("feature key" , Boolean .FALSE );
You can’t perform that action at this time.
0 commit comments