File tree 1 file changed +3
-0
lines changed 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,7 @@ func TestUserQuietHours(t *testing.T) {
153
153
})
154
154
155
155
ctx := testutil .Context (t , testutil .WaitLong )
156
+ //nolint:gocritic // We want to test the lack of entitlement, not RBAC.
156
157
_ , err := client .UserQuietHoursSchedule (ctx , user .UserID .String ())
157
158
require .Error (t , err )
158
159
var sdkErr * codersdk.Error
@@ -181,6 +182,7 @@ func TestUserQuietHours(t *testing.T) {
181
182
})
182
183
183
184
ctx := testutil .Context (t , testutil .WaitLong )
185
+ //nolint:gocritic // We want to test the lack of feature, not RBAC.
184
186
_ , err := client .UserQuietHoursSchedule (ctx , user .UserID .String ())
185
187
require .Error (t , err )
186
188
var sdkErr * codersdk.Error
@@ -208,6 +210,7 @@ func TestUserQuietHours(t *testing.T) {
208
210
})
209
211
210
212
ctx := testutil .Context (t , testutil .WaitLong )
213
+ //nolint:gocritic // We want to test the lack of feature, not RBAC.
211
214
_ , err := client .UserQuietHoursSchedule (ctx , user .UserID .String ())
212
215
require .Error (t , err )
213
216
var sdkErr * codersdk.Error
You can’t perform that action at this time.
0 commit comments