@@ -127,9 +127,9 @@ public function shouldCreateGroupWithDescriptionAndVisibility()
127
127
128
128
$ api = $ this ->getApiMock ();
129
129
$ api ->expects ($ this ->once ())
130
- ->method ('post ' )
131
- ->with ('groups ' , array ('name ' => 'A new group ' , 'path ' => 'a-new-group ' , 'description ' => 'Description ' , 'visibility ' => 'public ' ))
132
- ->will ($ this ->returnValue ($ expectedArray ))
130
+ ->method ('post ' )
131
+ ->with ('groups ' , array ('name ' => 'A new group ' , 'path ' => 'a-new-group ' , 'description ' => 'Description ' , 'visibility ' => 'public ' ))
132
+ ->will ($ this ->returnValue ($ expectedArray ))
133
133
;
134
134
135
135
$ this ->assertEquals ($ expectedArray , $ api ->create ('A new group ' , 'a-new-group ' , 'Description ' , 'public ' ));
@@ -144,9 +144,9 @@ public function shouldCreateGroupWithDescriptionVisibilityAndParentId()
144
144
145
145
$ api = $ this ->getApiMock ();
146
146
$ api ->expects ($ this ->once ())
147
- ->method ('post ' )
148
- ->with ('groups ' , array ('name ' => 'A new group ' , 'path ' => 'a-new-group ' , 'description ' => 'Description ' , 'visibility ' => 'public ' , 'parent_id ' => 666 ))
149
- ->will ($ this ->returnValue ($ expectedArray ))
147
+ ->method ('post ' )
148
+ ->with ('groups ' , array ('name ' => 'A new group ' , 'path ' => 'a-new-group ' , 'description ' => 'Description ' , 'visibility ' => 'public ' , 'parent_id ' => 666 ))
149
+ ->will ($ this ->returnValue ($ expectedArray ))
150
150
;
151
151
152
152
$ this ->assertEquals ($ expectedArray , $ api ->create ('A new group ' , 'a-new-group ' , 'Description ' , 'public ' , null , null , 666 ));
0 commit comments