Provider configuration has the wrong provider name as "tmc" instead of "tanzu-mission-control" causing the tests to fail. Modified the test to use the common provider testing code instead of the incorrect one.
What this PR does / why we need it:
Fixes the failing namespace acceptance tests
Which issue(s) this PR fixes
(optional, in `fixes #<issue number>` format, will close the issue(s) when PR gets merged):
Fixes issue tracked in internal Jira
Additional information
Special notes for your reviewer
namespace % go test -v -tags=namespace
=== RUN TestAcceptanceForNamespaceDataSource
TMC resources applied to the cluster successfully
data_source_namespace_test.go:53: namespace data source acceptance test complete!
--- PASS: TestAcceptanceForNamespaceDataSource (301.15s)
.......
TMC resources applied to the cluster successfully
resource_namepace_test.go:49: namespace resource acceptance test complete!
--- PASS: TestAcceptanceForNamespaceResource (279.15s)
Provider configuration has the wrong provider name as "tmc" instead of "tanzu-mission-control" causing the tests to fail. Modified the test to use the common provider testing code instead of the incorrect one.
What this PR does / why we need it: Fixes the failing namespace acceptance tests
Which issue(s) this PR fixes
Additional information
Special notes for your reviewer