File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 2929#import " MSIDWPJKeyPairWithCert.h"
3030
3131
32- #if TARGET_OS_IOS
33- @interface MSIDWorkPlaceJoinUtilTransportKeyTests : MSIDWorkPlaceJoinUtilTests
32+ #if FALSE
33+ @interface MSIDWorkPlaceJoinUtilTransportKeyTests
3434 -(void )insertEccStkKeyForTenantIdentifier:(NSString *)tenantIdentifier;
3535@end
3636
@@ -160,10 +160,11 @@ - (void)testGetWPJKeysWithTenantId_whenEccRegistrationWithTransportKey_shouldRet
160160
161161- (void )testGetWPJKeysWithTenantId_whenEccRegistrationWithMissingTransportKey_shouldReturnOnlyDeviceKey
162162{
163- [self insertDummyEccRegistrationForTenantIdentifier: self .tenantId certIdentifier: kDummyTenant1CertIdentifier useSecureEnclave: YES ];
163+ NSString *tid = self.tenantId ;
164+ [self insertDummyEccRegistrationForTenantIdentifier: tid certIdentifier: kDummyTenant1CertIdentifier useSecureEnclave: YES ];
164165 // Don't insert transport key - simulate missing STK scenario
165166
166- MSIDWPJKeyPairWithCert *result = [MSIDWorkPlaceJoinUtil getWPJKeysWithTenantId: self .tenantId context: nil ];
167+ MSIDWPJKeyPairWithCert *result = [MSIDWorkPlaceJoinUtil getWPJKeysWithTenantId: tid context: nil ];
167168
168169 XCTAssertNotNil (result);
169170 XCTAssertEqual (result.keyChainVersion , MSIDWPJKeychainAccessGroupV2);
You can’t perform that action at this time.
0 commit comments