@@ -32,7 +32,7 @@ public function shouldCheckIfMemberIsInOrganizationTeam()
32
32
$ api = $ this ->getApiMock ();
33
33
$ api ->expects ($ this ->once ())
34
34
->method ('get ' )
35
- ->with ('teams/KnpWorld/members /l3l0 ' )
35
+ ->with ('teams/KnpWorld/memberships /l3l0 ' )
36
36
->will ($ this ->returnValue ($ expectedValue ));
37
37
38
38
$ this ->assertEquals ($ expectedValue , $ api ->check ('KnpWorld ' , 'l3l0 ' ));
@@ -96,7 +96,7 @@ public function shouldAddTeamMembers()
96
96
$ api = $ this ->getApiMock ();
97
97
$ api ->expects ($ this ->once ())
98
98
->method ('put ' )
99
- ->with ('teams/KnpWorld/members /l3l0 ' )
99
+ ->with ('teams/KnpWorld/memberships /l3l0 ' )
100
100
->will ($ this ->returnValue ($ expectedValue ));
101
101
102
102
$ this ->assertEquals ($ expectedValue , $ api ->addMember ('KnpWorld ' , 'l3l0 ' ));
@@ -112,7 +112,7 @@ public function shouldRemoveTeamMembers()
112
112
$ api = $ this ->getApiMock ();
113
113
$ api ->expects ($ this ->once ())
114
114
->method ('delete ' )
115
- ->with ('teams/KnpWorld/members /l3l0 ' )
115
+ ->with ('teams/KnpWorld/memberships /l3l0 ' )
116
116
->will ($ this ->returnValue ($ expectedValue ));
117
117
118
118
$ this ->assertEquals ($ expectedValue , $ api ->removeMember ('KnpWorld ' , 'l3l0 ' ));
0 commit comments