Skip to content

Commit

Permalink
test(project): fix filing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Serpentiel committed Oct 23, 2023
1 parent 4cbb14e commit 03b21ac
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions internal/sdkprovider/service/project/project_user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,19 @@ func testAccCheckAivenProjectUserResourceDestroy(s *terraform.State) error {

func testAccProjectUserResource(name string) string {
return fmt.Sprintf(`
resource "aiven_organization" "foo" {
name = "test-acc-org-%[1]s"
}
resource "aiven_project" "foo" {
project = "test-acc-pr-%s"
project = "test-acc-pr-%[1]s"
default_cloud = "aws-eu-west-2"
parent_id = aiven_organization.foo.id
}
resource "aiven_project_user" "bar" {
project = aiven_project.foo.project
email = "ivan.savciuc+%[email protected]"
email = "ivan.savciuc+%[1][email protected]"
member_type = "admin"
}
Expand All @@ -99,7 +104,7 @@ data "aiven_project_user" "user" {
email = aiven_project_user.bar.email
depends_on = [aiven_project_user.bar]
}`, name, name)
}`, name)
}

func testAccProjectUserDeveloperResource(name string) string {
Expand Down

0 comments on commit 03b21ac

Please sign in to comment.