Skip to content

Commit 25cdc35

Browse files
committed
Resolve error
1 parent 778e0f0 commit 25cdc35

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

IdentityCore/tests/MSIDBoundRefreshTokenRedemptionTests.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,11 +426,12 @@ - (void)testGetTokenRedemptionJwt_errorPassedAsNil_shouldNotCrash
426426
nonce:@"nonce123"];
427427
[self insertWorkPlaceJoinInformation];
428428
NSDictionary *jweCrypto;
429+
NSError *error;
429430
NSString *jwt = [token getTokenRedemptionJwtForTenantId:self.tenantId
430431
tokenRedemptionParameters:params
431432
context:nil
432433
jweCrypto:&jweCrypto
433-
error:nil];
434+
error:&error];
434435

435436
XCTAssertNotNil(jwt);
436437
// Should not crash when error is nil

0 commit comments

Comments
 (0)