Skip to content

Commit 439c7a5

Browse files
authored
fix test data for scenarios where assignment value is set to incorrect type (#47)
1 parent cfcdc5e commit 439c7a5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ufc/tests/test-case-invalid-value-flag.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"assignment": 42,
1313
"evaluationDetails": {
1414
"environmentName": "Test",
15-
"flagEvaluationCode": "TYPE_MISMATCH",
16-
"flagEvaluationDescription": "Expected variation type INTEGER does not match for variation 'pi' with value 3.1415926",
15+
"flagEvaluationCode": "ASSIGNMENT_ERROR",
16+
"flagEvaluationDescription": "Variation (pi) is configured for type INTEGER, but is set to incompatible value (3.1415926)",
1717
"banditKey": null,
1818
"banditAction": null,
1919
"variationKey": null,
@@ -84,8 +84,8 @@
8484
"assignment": 42,
8585
"evaluationDetails": {
8686
"environmentName": "Test",
87-
"flagEvaluationCode": "TYPE_MISMATCH",
88-
"flagEvaluationDescription": "Expected variation type INTEGER does not match for variation 'pi' with value 3.1415926",
87+
"flagEvaluationCode": "ASSIGNMENT_ERROR",
88+
"flagEvaluationDescription": "Variation (pi) is configured for type INTEGER, but is set to incompatible value (3.1415926)",
8989
"banditKey": null,
9090
"banditAction": null,
9191
"variationKey": null,

0 commit comments

Comments
 (0)