@@ -127,7 +127,7 @@ - (void)testPinObjects {
127127 PFObject *object = [PFObject objectWithClassName: @" Yarr" ];
128128 XCTestExpectation *expectation = [self currentSelectorTestExpectation ];
129129 [[store pinObjectsAsync: @[ object ] withPinName: @" Yolo" includeChildren: YES ] continueWithSuccessBlock: ^id (BFTask *task) {
130- XCTAssertEqualObjects (task.result , @ YES );
130+ XCTAssertNil (task.result );
131131 XCTAssertEqualObjects (pin.objects , @[ object ]);
132132 [expectation fulfill ];
133133 return nil ;
@@ -155,7 +155,7 @@ - (void)testPinObjectsExistingPin {
155155 PFObject *object = [PFObject objectWithClassName: @" Yarr" ];
156156 XCTestExpectation *expectation = [self currentSelectorTestExpectation ];
157157 [[store pinObjectsAsync: @[ object ] withPinName: @" Yolo" includeChildren: YES ] continueWithSuccessBlock: ^id (BFTask *task) {
158- XCTAssertEqualObjects (task.result , @ YES );
158+ XCTAssertNil (task.result );
159159 XCTAssertEqualObjects (pin.objects , (@[ existingObject, object ]));
160160 [expectation fulfill ];
161161 return nil ;
@@ -170,7 +170,7 @@ - (void)testPinZeroObjects {
170170
171171 XCTestExpectation *expectation = [self currentSelectorTestExpectation ];
172172 [[store pinObjectsAsync: nil withPinName: @" Yolo" includeChildren: YES ] continueWithSuccessBlock: ^id (BFTask *task) {
173- XCTAssertEqualObjects (task.result , @ YES );
173+ XCTAssertNil (task.result );
174174 [expectation fulfill ];
175175 return nil ;
176176 }];
@@ -195,7 +195,7 @@ - (void)testPinObjectsWithoutChildren {
195195 PFObject *object = [PFObject objectWithClassName: @" Yarr" ];
196196 XCTestExpectation *expectation = [self currentSelectorTestExpectation ];
197197 [[store pinObjectsAsync: @[ object ] withPinName: @" Yolo" includeChildren: NO ] continueWithSuccessBlock: ^id (BFTask *task) {
198- XCTAssertEqualObjects (task.result , @ YES );
198+ XCTAssertNil (task.result );
199199 XCTAssertEqualObjects (pin.objects , (@[ object ]));
200200 [expectation fulfill ];
201201 return nil ;
@@ -221,7 +221,7 @@ - (void)testUnpinObjects {
221221
222222 XCTestExpectation *expectation = [self currentSelectorTestExpectation ];
223223 [[store unpinObjectsAsync: @[ object ] withPinName: @" Yolo" ] continueWithSuccessBlock: ^id (BFTask *task) {
224- XCTAssertEqualObjects (task.result , @ YES );
224+ XCTAssertNil (task.result );
225225 [expectation fulfill ];
226226 return nil ;
227227 }];
@@ -246,7 +246,7 @@ - (void)testUnpinObjectsEmptyPin {
246246
247247 XCTestExpectation *expectation = [self currentSelectorTestExpectation ];
248248 [[store unpinObjectsAsync: @[ object ] withPinName: @" Yolo" ] continueWithSuccessBlock: ^id (BFTask *task) {
249- XCTAssertEqualObjects (task.result , @ YES );
249+ XCTAssertNil (task.result );
250250 [expectation fulfill ];
251251 return nil ;
252252 }];
@@ -260,7 +260,7 @@ - (void)testUnpinZeroObjects {
260260
261261 XCTestExpectation *expectation = [self currentSelectorTestExpectation ];
262262 [[store unpinObjectsAsync: nil withPinName: @" Yolo" ] continueWithSuccessBlock: ^id (BFTask *task) {
263- XCTAssertEqualObjects (task.result , @ YES );
263+ XCTAssertNil (task.result );
264264 [expectation fulfill ];
265265 return nil ;
266266 }];
@@ -278,7 +278,7 @@ - (void)testUnpinObjectsNoPin {
278278 PFObject *object = [PFObject objectWithClassName: @" Yarr" ];
279279 XCTestExpectation *expectation = [self currentSelectorTestExpectation ];
280280 [[store unpinObjectsAsync: @[ object ] withPinName: @" Yolo" ] continueWithSuccessBlock: ^id (BFTask *task) {
281- XCTAssertEqualObjects (task.result , @ YES );
281+ XCTAssertNil (task.result );
282282 [expectation fulfill ];
283283 return nil ;
284284 }];
@@ -300,7 +300,7 @@ - (void)testUnpinAllObjects {
300300
301301 XCTestExpectation *expectation = [self currentSelectorTestExpectation ];
302302 [[store unpinAllObjectsAsyncWithPinName: @" Yolo" ] continueWithSuccessBlock: ^id (BFTask *task) {
303- XCTAssertEqualObjects (task.result , @ YES );
303+ XCTAssertNil (task.result );
304304 [expectation fulfill ];
305305 return nil ;
306306 }];
0 commit comments