-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v08 spec alignment - Workflow name no longer a required property #81
v08 spec alignment - Workflow name no longer a required property #81
Conversation
Signed-off-by: spolti <filippespolti@gmail.com>
f267ce2
to
49078f7
Compare
@lsytj0413 wanna take a look? |
}, "./testdata/workflows/checkinbox.cron-test.sw.yaml": func(t *testing.T, w *model.Workflow) { | ||
}, | ||
"./testdata/workflows/checkinbox.cron-test.sw.yaml": func(t *testing.T, w *model.Workflow) { | ||
assert.Equal(t, "Check Inbox Workflow", w.Name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should organize the testcase later, with all field assert?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure what do you mean.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for did not make it clear. Should we change the testcode to:
"./testdata/workflows/checkinbox.cron-test.sw.yaml": func(t *testing.T, w *model.Workflow) {
assert.Equal(t, expectWorkflowObject, w)
}
, maybe this is more effective, it can verify all of workflow fields.
Signed-off-by: spolti <filippespolti@gmail.com>
I think it is ready to merge. |
/lgtm |
Signed-off-by: spolti filippespolti@gmail.com
issue: #70
Many thanks for submitting your Pull Request ❤️!
What this PR does / why we need it:
Special notes for reviewers:
Additional information (if needed):