File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/dev/openfeature/sdk/e2e/steps Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -114,9 +114,9 @@ public void a_context_containing_a_key_with_null_value(String key)
114114 public void a_context_containing_a_key_with_type_and_with_value (String key , String type , String value )
115115 throws ClassNotFoundException , InstantiationException {
116116 Map <String , Value > map = state .context .asMap ();
117- map .put (key , new Value (value ));
117+ Map <String , Value > map = state .context .asMap ();
118+ map .put (key , new Value (Utils .convert (value , type )));
118119 state .context = new MutableContext (state .context .getTargetingKey (), map );
119- }
120120
121121 @ Given ("a context containing a targeting key with value {string}" )
122122 public void a_context_containing_a_targeting_key_with_value (String string ) {
You can’t perform that action at this time.
0 commit comments