fix sql user tests after changing import format (#2742)

<!-- This change is generated by MagicModules. -->
/cc @danawillow
This commit is contained in:
The Magician 2018-12-21 17:22:40 -08:00 committed by Dana Hoffman
parent 42ed54ae92
commit 2b2e00771b

View File

@ -35,7 +35,7 @@ func TestAccSqlUser_mysql(t *testing.T) {
},
{
ResourceName: "google_sql_user.user2",
ImportStateId: instance + "/gmail.com/admin",
ImportStateId: fmt.Sprintf("%s/%s/gmail.com/admin", getTestProjectFromEnv(), instance),
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"password"},
@ -68,7 +68,7 @@ func TestAccSqlUser_postgres(t *testing.T) {
},
{
ResourceName: "google_sql_user.user",
ImportStateId: instance + "/admin",
ImportStateId: fmt.Sprintf("%s/%s/admin", getTestProjectFromEnv(), instance),
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"password"},