helper/resource: don't need to id-only check if no test steps
This commit is contained in:
parent
a285c04dc9
commit
5c4f78796b
|
@ -195,8 +195,8 @@ func Test(t TestT, c TestCase) {
|
|||
}
|
||||
}
|
||||
|
||||
// If we never checked an id-only refresh, it is a failure
|
||||
if !errored && idRefreshCheck == nil {
|
||||
// If we never checked an id-only refresh, it is a failure.
|
||||
if !errored && len(c.Steps) > 0 && idRefreshCheck == nil {
|
||||
t.Error("ID-only refresh check never ran.")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue