@@ -20,7 +20,7 @@ import (
20
20
func TestPostLicense (t * testing.T ) {
21
21
t .Parallel ()
22
22
23
- t .Run ("POST " , func (t * testing.T ) {
23
+ t .Run ("Success " , func (t * testing.T ) {
24
24
t .Parallel ()
25
25
client := coderdenttest .New (t , nil )
26
26
_ = coderdtest .CreateFirstUser (t , client )
@@ -37,7 +37,7 @@ func TestPostLicense(t *testing.T) {
37
37
assert .Equal (t , json .Number ("1" ), features [codersdk .FeatureAuditLog ])
38
38
})
39
39
40
- t .Run ("POST_unauthorized " , func (t * testing.T ) {
40
+ t .Run ("Unauthorized " , func (t * testing.T ) {
41
41
t .Parallel ()
42
42
client := coderdenttest .New (t , nil )
43
43
_ , err := client .AddLicense (context .Background (), codersdk.AddLicenseRequest {
@@ -51,7 +51,7 @@ func TestPostLicense(t *testing.T) {
51
51
}
52
52
})
53
53
54
- t .Run ("POST_corrupted " , func (t * testing.T ) {
54
+ t .Run ("Corrupted " , func (t * testing.T ) {
55
55
t .Parallel ()
56
56
client := coderdenttest .New (t , nil )
57
57
_ = coderdtest .CreateFirstUser (t , client )
@@ -70,7 +70,7 @@ func TestPostLicense(t *testing.T) {
70
70
71
71
func TestGetLicense (t * testing.T ) {
72
72
t .Parallel ()
73
- t .Run ("GET " , func (t * testing.T ) {
73
+ t .Run ("Success " , func (t * testing.T ) {
74
74
t .Parallel ()
75
75
client := coderdenttest .New (t , nil )
76
76
_ = coderdtest .CreateFirstUser (t , client )
@@ -108,7 +108,7 @@ func TestGetLicense(t *testing.T) {
108
108
109
109
func TestDeleteLicense (t * testing.T ) {
110
110
t .Parallel ()
111
- t .Run ("DELETE_empty " , func (t * testing.T ) {
111
+ t .Run ("Empty " , func (t * testing.T ) {
112
112
t .Parallel ()
113
113
client := coderdenttest .New (t , nil )
114
114
_ = coderdtest .CreateFirstUser (t , client )
@@ -124,7 +124,7 @@ func TestDeleteLicense(t *testing.T) {
124
124
}
125
125
})
126
126
127
- t .Run ("DELETE_bad_id " , func (t * testing.T ) {
127
+ t .Run ("BadID " , func (t * testing.T ) {
128
128
t .Parallel ()
129
129
client := coderdenttest .New (t , nil )
130
130
_ = coderdtest .CreateFirstUser (t , client )
@@ -137,7 +137,7 @@ func TestDeleteLicense(t *testing.T) {
137
137
require .NoError (t , resp .Body .Close ())
138
138
})
139
139
140
- t .Run ("DELETE " , func (t * testing.T ) {
140
+ t .Run ("Success " , func (t * testing.T ) {
141
141
t .Parallel ()
142
142
client := coderdenttest .New (t , nil )
143
143
_ = coderdtest .CreateFirstUser (t , client )
0 commit comments