Skip to content

Commit

Permalink
Fix pipeline?
Browse files Browse the repository at this point in the history
  • Loading branch information
q-uint committed Mar 15, 2024
1 parent b0b27fb commit 19bff77
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions patch_add_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func TestPatch_addAttributes(t *testing.T) {
req = httptest.NewRequest(http.MethodPatch, "/Users/0001", bytes.NewReader(raw))
rr = httptest.NewRecorder()
)
s, err := newTestServer()
s, err := newSCIMTestServer()
if err != nil {
t.Fatal(err)
}
Expand Down Expand Up @@ -69,7 +69,7 @@ func TestPatch_addMember(t *testing.T) {
req = httptest.NewRequest(http.MethodPatch, "/Groups/0001", bytes.NewReader(raw))
rr = httptest.NewRecorder()
)
s, err := newTestServer()
s, err := newSCIMTestServer()
if err != nil {
t.Fatal(err)
}
Expand Down Expand Up @@ -129,7 +129,7 @@ func TestPatch_alreadyExists(t *testing.T) {
changed: false,
},
} {
server, err := newTestServer()
server, err := newSCIMTestServer()
if err != nil {
t.Fatal(err)
}
Expand Down Expand Up @@ -169,7 +169,7 @@ func TestPatch_complex(t *testing.T) {
req = httptest.NewRequest(http.MethodPatch, "/Users/0001", bytes.NewReader(raw))
rr = httptest.NewRecorder()
)
s, err := newTestServer()
s, err := newSCIMTestServer()
if err != nil {
t.Fatal(err)
}
Expand Down
2 changes: 1 addition & 1 deletion server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func externalID(attributes scim.ResourceAttributes) optional.String {
// - Whether a reference to another entity really exists.
// e.g. if a member gets added, does this entity exist?

func newTestServer() (scim.Server, error) {
func newSCIMTestServer() (scim.Server, error) {
return scim.NewServer(
&scim.ServerArgs{
ServiceProviderConfig: &scim.ServiceProviderConfig{},
Expand Down

0 comments on commit 19bff77

Please sign in to comment.