github.com/darmach/terratest@v0.34.8-0.20210517103231-80931f95e3ff/modules/azure/storage_test.go (about) 1 package azure 2 3 import ( 4 "testing" 5 6 "github.com/stretchr/testify/require" 7 ) 8 9 /* 10 The below tests are currently stubbed out, with the expectation that they will throw errors. 11 If/when methods to create and delete storage accounts are added, these tests can be extended. 12 */ 13 14 func TestStorageAccountExists(t *testing.T) { 15 _, err := StorageAccountExistsE("", "", "") 16 require.Error(t, err) 17 } 18 19 func TestStorageBlobContainerExists(t *testing.T) { 20 _, err := StorageBlobContainerExistsE("", "", "", "") 21 require.Error(t, err) 22 } 23 24 func TestStorageBlobContainerPublicAccess(t *testing.T) { 25 _, err := GetStorageBlobContainerPublicAccessE("", "", "", "") 26 require.Error(t, err) 27 } 28 29 func TestGetStorageAccountKind(t *testing.T) { 30 _, err := GetStorageAccountKindE("", "", "") 31 require.Error(t, err) 32 } 33 34 func TestGetStorageAccountSkuTier(t *testing.T) { 35 _, err := GetStorageAccountSkuTierE("", "", "") 36 require.Error(t, err) 37 } 38 39 func TestGetStorageDNSString(t *testing.T) { 40 _, err := GetStorageDNSStringE("", "", "") 41 require.Error(t, err) 42 }