diff --git a/services/graph/pkg/service/v0/educationclasses_test.go b/services/graph/pkg/service/v0/educationclasses_test.go index bfec31ceab..ba90311bd2 100644 --- a/services/graph/pkg/service/v0/educationclasses_test.go +++ b/services/graph/pkg/service/v0/educationclasses_test.go @@ -389,7 +389,7 @@ var _ = Describe("EducationClass", func() { r = r.WithContext(context.WithValue(revactx.ContextSetUser(ctx, currentUser), chi.RouteCtxKey, rctx)) svc.PatchEducationClass(rr, r) - Expect(rr.Code).To(Equal(http.StatusOK)) + Expect(rr.Code).To(Equal(http.StatusNoContent)) identityBackend.AssertNumberOfCalls(GinkgoT(), "AddMembersToGroup", 1) }) })