chore(lint): Fix bug when a token is given public only
This commit is contained in:
parent
9b63e3e88d
commit
14d85597f8
|
@ -51,7 +51,7 @@ func TestAPIUserSearchLoggedIn(t *testing.T) {
|
||||||
for _, user := range results.Data {
|
for _, user := range results.Data {
|
||||||
assert.Contains(t, user.UserName, query)
|
assert.Contains(t, user.UserName, query)
|
||||||
assert.NotEmpty(t, user.Email)
|
assert.NotEmpty(t, user.Email)
|
||||||
assert.True(t, user.Visibility == "public")
|
assert.Equal(t, "public", user.Visibility)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue