Skip to content

Commit

Permalink
fix: use ServiceID instated of endpintsID
Browse files Browse the repository at this point in the history
  • Loading branch information
noel-phelt committed Feb 26, 2024
1 parent 4e15a6a commit d44e350
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions internal/service/redshiftserverless/namespace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func TestAccRedshiftServerlessNamespace_basic(t *testing.T) {

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { acctest.PreCheck(ctx, t) },
ErrorCheck: acctest.ErrorCheck(t, redshiftserverless.EndpointsID),
ErrorCheck: acctest.ErrorCheck(t, redshiftserverless.ServiceID),
ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories,
CheckDestroy: testAccCheckNamespaceDestroy(ctx),
Steps: []resource.TestStep{
Expand Down Expand Up @@ -72,7 +72,7 @@ func TestAccRedshiftServerlessNamespace_defaultIAMRole(t *testing.T) {

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { acctest.PreCheck(ctx, t) },
ErrorCheck: acctest.ErrorCheck(t, redshiftserverless.EndpointsID),
ErrorCheck: acctest.ErrorCheck(t, redshiftserverless.ServiceID),
ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories,
CheckDestroy: testAccCheckNamespaceDestroy(ctx),
Steps: []resource.TestStep{
Expand Down Expand Up @@ -100,7 +100,7 @@ func TestAccRedshiftServerlessNamespace_user(t *testing.T) {

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { acctest.PreCheck(ctx, t) },
ErrorCheck: acctest.ErrorCheck(t, redshiftserverless.EndpointsID),
ErrorCheck: acctest.ErrorCheck(t, redshiftserverless.ServiceID),
ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories,
CheckDestroy: testAccCheckNamespaceDestroy(ctx),
Steps: []resource.TestStep{
Expand Down Expand Up @@ -133,7 +133,7 @@ func TestAccRedshiftServerlessNamespace_tags(t *testing.T) {

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { acctest.PreCheck(ctx, t) },
ErrorCheck: acctest.ErrorCheck(t, redshiftserverless.EndpointsID),
ErrorCheck: acctest.ErrorCheck(t, redshiftserverless.ServiceID),
ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories,
CheckDestroy: testAccCheckNamespaceDestroy(ctx),
Steps: []resource.TestStep{
Expand Down Expand Up @@ -177,7 +177,7 @@ func TestAccRedshiftServerlessNamespace_disappears(t *testing.T) {

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { acctest.PreCheck(ctx, t) },
ErrorCheck: acctest.ErrorCheck(t, redshiftserverless.EndpointsID),
ErrorCheck: acctest.ErrorCheck(t, redshiftserverless.ServiceID),
ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories,
CheckDestroy: testAccCheckNamespaceDestroy(ctx),
Steps: []resource.TestStep{
Expand All @@ -200,7 +200,7 @@ func TestAccRedshiftServerlessNamespace_withWorkgroup(t *testing.T) {

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { acctest.PreCheck(ctx, t) },
ErrorCheck: acctest.ErrorCheck(t, redshiftserverless.EndpointsID),
ErrorCheck: acctest.ErrorCheck(t, redshiftserverless.ServiceID),
ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories,
CheckDestroy: testAccCheckNamespaceDestroy(ctx),
Steps: []resource.TestStep{
Expand All @@ -225,7 +225,7 @@ func TestAccRedshiftServerlessNamespace_manageAdminPassword(t *testing.T) {

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { acctest.PreCheck(ctx, t) },
ErrorCheck: acctest.ErrorCheck(t, redshiftserverless.EndpointsID),
ErrorCheck: acctest.ErrorCheck(t, redshiftserverless.ServiceID),
ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories,
CheckDestroy: testAccCheckNamespaceDestroy(ctx),
Steps: []resource.TestStep{
Expand Down

0 comments on commit d44e350

Please sign in to comment.