@@ -17,7 +17,7 @@ func TestAccPermission_create(t *testing.T) {
1717 CheckDestroy : testAccCheckPermissionDestroy ,
1818 Steps : []resource.TestStep {
1919 {
20- Config : testAccSumologicPermission (
20+ Config : testAccSumologicPermissionCreate (
2121 otherResource , false , "create" , "role" , "sumologic_role.permission_test_role" ),
2222 Check : resource .ComposeTestCheckFunc (
2323 testAccCheckPermissionExists ("sumologic_content_permission.content_permission_test" , & response , t ),
@@ -42,7 +42,7 @@ func TestAccPermission_update(t *testing.T) {
4242 CheckDestroy : testAccCheckPermissionDestroy ,
4343 Steps : []resource.TestStep {
4444 {
45- Config : testAccSumologicPermission (
45+ Config : testAccSumologicPermissionCreate (
4646 otherResource , false , "create" , "role" , "sumologic_role.permission_test_role" ),
4747 Check : resource .ComposeTestCheckFunc (
4848 testAccCheckPermissionExists ("sumologic_content_permission.content_permission_test" , & response , t ),
@@ -77,7 +77,7 @@ func TestAccPermission_delete(t *testing.T) {
7777 CheckDestroy : testAccCheckPermissionDestroy ,
7878 Steps : []resource.TestStep {
7979 {
80- Config : testAccSumologicPermission (
80+ Config : testAccSumologicPermissionCreate (
8181 otherResource , false , "create" , "role" , "sumologic_role.permission_test_role" ),
8282 Check : resource .ComposeTestCheckFunc (
8383 testAccCheckPermissionExists ("sumologic_content_permission.content_permission_test" , & response , t ),
@@ -187,7 +187,7 @@ func testAccCheckPermissionAttributes(name string) resource.TestCheckFunc {
187187 }
188188}
189189
190- func testAccSumologicPermission (resource string , notify_recipient bool , notification_message string ,
190+ func testAccSumologicPermissionCreate (resource string , notify_recipient bool , notification_message string ,
191191 source_type string , source_id string ) string {
192192 return fmt .Sprintf (`
193193 %s
0 commit comments