Skip to content

Commit

Permalink
better test names
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanndickson committed Jul 17, 2024
1 parent 3bd52cb commit 0eade27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/provider/user_data_source_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand All @@ -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(),
Expand All @@ -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(),
Expand Down

0 comments on commit 0eade27

Please sign in to comment.