File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -549,8 +549,12 @@ - (void)testGetWPJKeysWithTenantId_whenEccRegistrationWithMissingTransportKey_sh
549549 NSString *tid = self.tenantId ;
550550 [self insertDummyEccRegistrationForTenantIdentifier: tid certIdentifier: kDummyTenant1CertIdentifier useSecureEnclave: YES ];
551551 // Don't insert transport key - simulate missing STK scenario
552-
552+ NSLog ( @" Testing for tid: %@ " , tid);
553553 MSIDWPJKeyPairWithCert *result = [MSIDWorkPlaceJoinUtil getWPJKeysWithTenantId: tid context: nil ];
554+ if (!result)
555+ {
556+ XCTFail (@" Could not retrieve WPJ keys for tenant %@ . result : %@ " , tid, result);
557+ }
554558
555559 XCTAssertNotNil (result);
556560 XCTAssertEqual (result.keyChainVersion , MSIDWPJKeychainAccessGroupV2);
You can’t perform that action at this time.
0 commit comments