mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
chore: move stat reporting into workspacestats package (#13386)
This commit is contained in:
@ -264,7 +264,7 @@ func (s *MethodTestSuite) NotAuthorizedErrorTest(ctx context.Context, az *coderd
|
||||
// any case where the error is nil and the response is an empty slice.
|
||||
if err != nil || !hasEmptySliceResponse(resp) {
|
||||
s.Errorf(err, "method should an error with cancellation")
|
||||
s.ErrorIsf(err, context.Canceled, "error should match context.Cancelled")
|
||||
s.ErrorIsf(err, context.Canceled, "error should match context.Canceled")
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user