We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b45ac72 commit 0ecb31aCopy full SHA for 0ecb31a
github/provider_test.go
@@ -117,17 +117,20 @@ func TestAccProviderConfigure(t *testing.T) {
117
config := fmt.Sprintf(`
118
provider "github" {
119
token = "%s"
120
- owner = "%s"
121
- }`, testAccConf.token, testAccConf.owner)
+ owner = "%[2]s"
+ }
122
+
123
+ data "github_organization" "test" {
124
+ name = "%[2]s"
125
126
+ `, testAccConf.token, testAccConf.owner)
127
128
resource.Test(t, resource.TestCase{
129
PreCheck: func() { skipUnlessHasOrgs(t) },
130
ProviderFactories: providerFactories,
131
Steps: []resource.TestStep{
132
{
- Config: config,
- PlanOnly: true,
- ExpectNonEmptyPlan: false,
133
+ Config: config,
134
},
135
136
})
0 commit comments