Skip to content

Commit 0eade27

Browse files
committed
better test names
1 parent 3bd52cb commit 0eade27

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/provider/user_data_source_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func TestAccUserDataSource(t *testing.T) {
4949
resource.TestCheckResourceAttr("data.coderd_user.test", "login_type", "password"),
5050
resource.TestCheckResourceAttr("data.coderd_user.test", "suspended", "false"),
5151
)
52-
t.Run("UserByUsername", func(t *testing.T) {
52+
t.Run("UserByUsernameOk", func(t *testing.T) {
5353
cfg := testAccUserDataSourceConfig{
5454
URL: client.URL.String(),
5555
Token: client.SessionToken(),
@@ -67,7 +67,7 @@ func TestAccUserDataSource(t *testing.T) {
6767
})
6868
})
6969

70-
t.Run("UserByID", func(t *testing.T) {
70+
t.Run("UserByIDOk", func(t *testing.T) {
7171
cfg := testAccUserDataSourceConfig{
7272
URL: client.URL.String(),
7373
Token: client.SessionToken(),
@@ -85,7 +85,7 @@ func TestAccUserDataSource(t *testing.T) {
8585
},
8686
})
8787
})
88-
t.Run("NeitherIDNorUsername", func(t *testing.T) {
88+
t.Run("NeitherIDNorUsernameError", func(t *testing.T) {
8989
cfg := testAccUserDataSourceConfig{
9090
URL: client.URL.String(),
9191
Token: client.SessionToken(),

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy