Update test assertions to expect org/slug team format
This commit is contained in:
parent
ad64d10bf4
commit
38661646ee
1 changed files with 2 additions and 2 deletions
|
|
@ -987,7 +987,7 @@ func Test_createRun(t *testing.T) {
|
|||
`, func(inputs map[string]interface{}) {
|
||||
assert.Equal(t, "NEWPULLID", inputs["pullRequestId"])
|
||||
assert.Equal(t, []interface{}{"hubot", "monalisa"}, inputs["userLogins"])
|
||||
assert.Equal(t, []interface{}{"core", "robots"}, inputs["teamSlugs"])
|
||||
assert.Equal(t, []interface{}{"/core", "/robots"}, inputs["teamSlugs"])
|
||||
assert.Equal(t, true, inputs["union"])
|
||||
}))
|
||||
},
|
||||
|
|
@ -1516,7 +1516,7 @@ func Test_createRun(t *testing.T) {
|
|||
`, func(inputs map[string]interface{}) {
|
||||
assert.Equal(t, "NEWPULLID", inputs["pullRequestId"])
|
||||
assert.Equal(t, []interface{}{"hubot", "monalisa"}, inputs["userLogins"])
|
||||
assert.Equal(t, []interface{}{"core", "robots"}, inputs["teamSlugs"])
|
||||
assert.Equal(t, []interface{}{"org/core", "org/robots"}, inputs["teamSlugs"])
|
||||
assert.Equal(t, true, inputs["union"])
|
||||
}))
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue