diff --git a/v2/storagegroup/test/generate.go b/v2/storagegroup/test/generate.go index c8c67ba1..048ec24c 100644 --- a/v2/storagegroup/test/generate.go +++ b/v2/storagegroup/test/generate.go @@ -11,10 +11,10 @@ func GenerateStorageGroup(empty bool) *storagegroup.StorageGroup { if !empty { m.SetValidationDataSize(44) m.SetExpirationEpoch(55) + m.SetMembers(refstest.GenerateObjectIDs(false)) } m.SetValidationHash(refstest.GenerateChecksum(empty)) - m.SetMembers(refstest.GenerateObjectIDs(empty)) return m }