MCPcopy Create free account
hub / github.com/elimity-com/scim / assertEqualSCIMErrors

Function assertEqualSCIMErrors

utils_test.go:15–21  ·  view source on GitHub ↗
(t *testing.T, expected, actual *errors.ScimError)

Source from the content-addressed store, hash-verified

13}
14
15func assertEqualSCIMErrors(t *testing.T, expected, actual *errors.ScimError) {
16 if expected.ScimType != actual.ScimType ||
17 expected.Detail != actual.Detail ||
18 expected.Status != actual.Status {
19 t.Errorf("wrong scim error: expected %v, actual %v", expected, actual)
20 }
21}
22
23func assertEqualStatusCode(t *testing.T, expected, actual int) {
24 if expected != actual {

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…