diff --git a/pkg/scalers/aws_cloudwatch_test.go b/pkg/scalers/aws_cloudwatch_test.go index 76883026897..72c1c034d22 100644 --- a/pkg/scalers/aws_cloudwatch_test.go +++ b/pkg/scalers/aws_cloudwatch_test.go @@ -96,7 +96,7 @@ var testAWSCloudwatchMetadata = []parseAWSCloudwatchMetadataTestData{ "Missing namespace"}, // Missing dimensionName {map[string]string{ - "dimensionName": "QueueName", + "namespace": "AWS/SQS", "dimensionValue": "keda", "metricName": "ApproximateNumberOfMessagesVisible", "targetMetricValue": "2",