diff --git a/internal/provider/user_data_source_test.go b/internal/provider/user_data_source_test.go index a990f69..22f3c8d 100644 --- a/internal/provider/user_data_source_test.go +++ b/internal/provider/user_data_source_test.go @@ -49,7 +49,7 @@ func TestAccUserDataSource(t *testing.T) { resource.TestCheckResourceAttr("data.coderd_user.test", "login_type", "password"), resource.TestCheckResourceAttr("data.coderd_user.test", "suspended", "false"), ) - t.Run("UserByUsername", func(t *testing.T) { + t.Run("UserByUsernameOk", func(t *testing.T) { cfg := testAccUserDataSourceConfig{ URL: client.URL.String(), Token: client.SessionToken(), @@ -67,7 +67,7 @@ func TestAccUserDataSource(t *testing.T) { }) }) - t.Run("UserByID", func(t *testing.T) { + t.Run("UserByIDOk", func(t *testing.T) { cfg := testAccUserDataSourceConfig{ URL: client.URL.String(), Token: client.SessionToken(), @@ -85,7 +85,7 @@ func TestAccUserDataSource(t *testing.T) { }, }) }) - t.Run("NeitherIDNorUsername", func(t *testing.T) { + t.Run("NeitherIDNorUsernameError", func(t *testing.T) { cfg := testAccUserDataSourceConfig{ URL: client.URL.String(), Token: client.SessionToken(),