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

Method Asserts

coderd/database/dbauthz/setup_test.go:458–461  ·  view source on GitHub ↗

Asserts is required. Asserts the RBAC authorize calls that should be made. If no RBAC calls are expected, pass an empty list: 'm.Asserts()'

(pairs ...any)

Source from the content-addressed store, hash-verified

456// Asserts is required. Asserts the RBAC authorize calls that should be made.
457// If no RBAC calls are expected, pass an empty list: 'm.Asserts()'
458func (m *expects) Asserts(pairs ...any) *expects {
459 m.assertions = asserts(pairs...)
460 return m
461}
462
463// Args is required. The arguments to be provided to the method.
464// If there are no arguments, pass an empty list: 'm.Args()'

Callers 15

TestAPIKeyMethod · 0.80
TestAuditLogsMethod · 0.80
TestBoundaryLogsMethod · 0.80
TestConnectionLogsMethod · 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

Calls 1

assertsFunction · 0.85

Tested by

no test coverage detected