MCPcopy Index your code
hub / github.com/coder/coder / Returns

Method Returns

coderd/database/dbauthz/setup_test.go:473–476  ·  view source on GitHub ↗

Returns is optional. If it is never called, it will not be asserted.

(rets ...any)

Source from the content-addressed store, hash-verified

471
472// Returns is optional. If it is never called, it will not be asserted.
473func (m *expects) Returns(rets ...any) *expects {
474 m.outputs = values(rets...)
475 return m
476}
477
478// Errors is optional. If it is never called, it will not be asserted.
479func (m *expects) Errors(err error) *expects {

Callers 15

TestAPIKeyMethod · 0.80
TestChatsMethod · 0.80
TestFileMethod · 0.80
TestGroupMethod · 0.80
TestProvisionerJobMethod · 0.80
TestAISeatMethod · 0.80
TestLicenseMethod · 0.80
TestOrganizationMethod · 0.80
TestWorkspaceProxyMethod · 0.80
TestTemplateMethod · 0.80
TestUserMethod · 0.80
TestWorkspaceMethod · 0.80

Calls 1

valuesFunction · 0.85

Tested by

no test coverage detected