@@ -32,7 +32,7 @@ public function shouldCheckIfMemberIsInOrganizationTeam()
3232 $ api = $ this ->getApiMock ();
3333 $ api ->expects ($ this ->once ())
3434 ->method ('get ' )
35- ->with ('teams/KnpWorld/members /l3l0 ' )
35+ ->with ('teams/KnpWorld/memberships /l3l0 ' )
3636 ->will ($ this ->returnValue ($ expectedValue ));
3737
3838 $ this ->assertEquals ($ expectedValue , $ api ->check ('KnpWorld ' , 'l3l0 ' ));
@@ -96,7 +96,7 @@ public function shouldAddTeamMembers()
9696 $ api = $ this ->getApiMock ();
9797 $ api ->expects ($ this ->once ())
9898 ->method ('put ' )
99- ->with ('teams/KnpWorld/members /l3l0 ' )
99+ ->with ('teams/KnpWorld/memberships /l3l0 ' )
100100 ->will ($ this ->returnValue ($ expectedValue ));
101101
102102 $ this ->assertEquals ($ expectedValue , $ api ->addMember ('KnpWorld ' , 'l3l0 ' ));
@@ -112,7 +112,7 @@ public function shouldRemoveTeamMembers()
112112 $ api = $ this ->getApiMock ();
113113 $ api ->expects ($ this ->once ())
114114 ->method ('delete ' )
115- ->with ('teams/KnpWorld/members /l3l0 ' )
115+ ->with ('teams/KnpWorld/memberships /l3l0 ' )
116116 ->will ($ this ->returnValue ($ expectedValue ));
117117
118118 $ this ->assertEquals ($ expectedValue , $ api ->removeMember ('KnpWorld ' , 'l3l0 ' ));
0 commit comments