Skip to content

Commit

Permalink
d/aws_bedrock_foundation_models: Fix acceptance tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Feb 1, 2024
1 parent 81ddd4a commit 898f26e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (

func TestAccBedrockFoundationModelsDataSource_basic(t *testing.T) {
ctx := acctest.Context(t)
datasourceName := "aws_bedrock_foundation_models.test"
datasourceName := "data.aws_bedrock_foundation_models.test"

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.BedrockEndpointID) },
Expand All @@ -35,7 +35,7 @@ func TestAccBedrockFoundationModelsDataSource_basic(t *testing.T) {

func TestAccBedrockFoundationModelsDataSource_byCustomizationType(t *testing.T) {
ctx := acctest.Context(t)
datasourceName := "aws_bedrock_foundation_models.test"
datasourceName := "data.aws_bedrock_foundation_models.test"

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.BedrockEndpointID) },
Expand All @@ -55,7 +55,7 @@ func TestAccBedrockFoundationModelsDataSource_byCustomizationType(t *testing.T)

func TestAccBedrockFoundationModelsDataSource_byInferenceType(t *testing.T) {
ctx := acctest.Context(t)
datasourceName := "aws_bedrock_foundation_models.test"
datasourceName := "data.aws_bedrock_foundation_models.test"

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.BedrockEndpointID) },
Expand All @@ -75,7 +75,7 @@ func TestAccBedrockFoundationModelsDataSource_byInferenceType(t *testing.T) {

func TestAccBedrockFoundationModelsDataSource_byOutputModality(t *testing.T) {
ctx := acctest.Context(t)
datasourceName := "aws_bedrock_foundation_models.test"
datasourceName := "data.aws_bedrock_foundation_models.test"

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.BedrockEndpointID) },
Expand Down

0 comments on commit 898f26e

Please sign in to comment.