Skip to content

Commit 8adddeb

Browse files
committed
Updating unit test to match changes.
Signed-off-by: dalton hill <[email protected]>
1 parent 0a78eb4 commit 8adddeb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

fn_test.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,15 @@ func TestRunFunction(t *testing.T) {
5050
{
5151
Severity: fnv1beta1.Severity_SEVERITY_NORMAL,
5252
Message: "I was run with input \"Hello, world\"!",
53+
Target: fnv1beta1.Target_TARGET_COMPOSITE.Enum(),
54+
},
55+
},
56+
Conditions: []*fnv1beta1.Condition{
57+
{
58+
Type: "FunctionSuccess",
59+
Status: fnv1beta1.Status_STATUS_CONDITION_TRUE,
60+
Reason: "Success",
61+
Target: fnv1beta1.Target_TARGET_COMPOSITE_AND_CLAIM.Enum(),
5362
},
5463
},
5564
},

0 commit comments

Comments
 (0)