Export TestSets helper function (#292)
This commit is contained in:
1 parent
3a3cdd7219
commit
b24fc185a7
6 files changed
+56
-34
No files matched your search
@@ -162,7 +162,7 @@ func TestStaticHostSet_ImmutableFields(t *testing.T) {
|
||||
ts := timestamp.Timestamp{Timestamp: ×tamppb.Timestamp{Seconds: 0, Nanos: 0}}
|
||||
_, prj := iam.TestScopes(t, iam.TestRepo(t, conn, wrapper))
|
||||
cat := testCatalog(t, conn, prj.PublicId)
|
||||
sets := testSets(t, conn, cat.GetPublicId(), 1)
|
||||
sets := TestSets(t, conn, cat.GetPublicId(), 1)
|
||||
|
||||
new := sets[0]
|
||||
|
||||
@@ -236,7 +236,7 @@ func TestStaticHostSetMember_ImmutableFields(t *testing.T) {
|
||||
|
||||
_, prj := iam.TestScopes(t, iam.TestRepo(t, conn, wrapper))
|
||||
cat := testCatalog(t, conn, prj.PublicId)
|
||||
sets := testSets(t, conn, cat.GetPublicId(), 1)
|
||||
sets := TestSets(t, conn, cat.GetPublicId(), 1)
|
||||
hosts := TestHosts(t, conn, cat.GetPublicId(), 1)
|
||||
|
||||
new, err := NewHostSetMember(sets[0].PublicId, hosts[0].PublicId)
|
||||
|
||||
Reference in new issue
Block a user