@@ -433,7 +433,7 @@ protected void stubForManageProviderByEntityID(EntityType entityType, String ent
433433 }
434434
435435 protected void stubForDeleteScimUser () {
436- stubFor (delete (urlPathMatching ("/api/scim/v2/users /(.*)" ))
436+ stubFor (delete (urlPathMatching ("/api/scim/v2/Users /(.*)" ))
437437 .willReturn (aResponse ()
438438 .withStatus (201 )));
439439 }
@@ -451,15 +451,15 @@ protected void stubForDeleteGraphUser() {
451451 }
452452
453453 protected void stubForDeleteScimRole () {
454- stubFor (delete (urlPathMatching ("/api/scim/v2/groups /(.*)" ))
454+ stubFor (delete (urlPathMatching ("/api/scim/v2/Groups /(.*)" ))
455455 .willReturn (aResponse ()
456456 .withStatus (201 )));
457457 }
458458
459459 protected String stubForCreateScimRole () throws JsonProcessingException {
460460 String value = UUID .randomUUID ().toString ();
461461 String body = objectMapper .writeValueAsString (Map .of ("id" , value ));
462- stubFor (post (urlPathMatching ("/api/scim/v2/groups " ))
462+ stubFor (post (urlPathMatching ("/api/scim/v2/Groups " ))
463463 .willReturn (aResponse ()
464464 .withHeader ("Content-Type" , "application/json" )
465465 .withBody (body )));
@@ -473,7 +473,7 @@ protected String stubForCreateScimUser() throws JsonProcessingException {
473473
474474 protected String stubForCreateScimUser (String idValue ) throws JsonProcessingException {
475475 String body = objectMapper .writeValueAsString (Map .of ("id" , idValue ));
476- stubFor (post (urlPathMatching ("/api/scim/v2/users " ))
476+ stubFor (post (urlPathMatching ("/api/scim/v2/Users " ))
477477 .willReturn (aResponse ()
478478 .withHeader ("Content-Type" , "application/json" )
479479 .withBody (body )));
@@ -512,7 +512,7 @@ protected String stubForCreateGraphUser() throws JsonProcessingException {
512512 }
513513
514514 protected void stubForUpdateScimUser () {
515- stubFor (put (urlPathMatching ("/api/scim/v2/users /(.*)" ))
515+ stubFor (put (urlPathMatching ("/api/scim/v2/Users /(.*)" ))
516516 .willReturn (aResponse ()
517517 .withHeader ("Content-Type" , "application/json" )
518518 ));
@@ -536,14 +536,14 @@ protected void stubForUpdateGraphUser(String sub) throws JsonProcessingException
536536 }
537537
538538 protected void stubForUpdateScimRole () {
539- stubFor (put (urlPathMatching ("/api/scim/v2/groups /(.*)" ))
539+ stubFor (put (urlPathMatching ("/api/scim/v2/Groups /(.*)" ))
540540 .willReturn (aResponse ()
541541 .withHeader ("Content-Type" , "application/json" )
542542 ));
543543 }
544544
545545 protected void stubForUpdateScimRolePatch () {
546- stubFor (patch (urlPathMatching (String .format ("/api/scim/v2/groups /(.*)" )))
546+ stubFor (patch (urlPathMatching (String .format ("/api/scim/v2/Groups /(.*)" )))
547547 .willReturn (aResponse ()
548548 .withHeader ("Content-Type" , "application/json" )
549549 ));
0 commit comments