Skip to content

Commit

Permalink
Migrate Org. Run Task data source test
Browse files Browse the repository at this point in the history
Due to the DataSource test using the Resource code to create the test
fixture we also need to update the provider factory from only the old
one to the newer Mux provider.
  • Loading branch information
glennsarti committed Mar 18, 2024
1 parent 0ac8136 commit f4e1679
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/provider/data_source_organization_run_task_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ func TestAccTFEOrganizationRunTaskDataSource_basic(t *testing.T) {
rInt := rand.New(rand.NewSource(time.Now().UnixNano())).Int()

resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
Providers: testAccProviders,
PreCheck: func() { testAccPreCheck(t) },
ProtoV5ProviderFactories: testAccMuxedProviders,
Steps: []resource.TestStep{
{
Config: testAccTFEOrganizationRunTaskDataSourceConfig(org.Name, rInt, runTasksURL()),
Expand Down

0 comments on commit f4e1679

Please sign in to comment.