Skip to content

Commit b20a745

Browse files
committed
Fix test
1 parent 8d0190c commit b20a745

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

IdentityCore/tests/MSIDWorkPlaceJoinUtilTests.m

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ - (void)testGetWPJKeysWithTenantId_whenWPJInDefaultWithDifferentTenant_shouldRet
121121

122122
- (void)testGetWPJKeysWithTenantId_whenWPJInDefaultWithSameTenant_EccBasedRegNoSecureEnclave_shouldReturnDefault
123123
{
124-
[self insertDummyEccRegistrationForTenantIdentifier:@"tenantId" certIdentifier:kDummyTenant1CertIdentifier useSecureEnclave:NO];
125-
MSIDWPJKeyPairWithCert *result = [MSIDWorkPlaceJoinUtil getWPJKeysWithTenantId:@"tenantId" context:nil];
124+
[self insertDummyEccRegistrationForTenantIdentifier:@"tenantId-abcd" certIdentifier:kDummyTenant1CertIdentifier useSecureEnclave:NO];
125+
MSIDWPJKeyPairWithCert *result = [MSIDWorkPlaceJoinUtil getWPJKeysWithTenantId:@"tenantId-abcd" context:nil];
126126
XCTAssertNotNil(result);
127127
XCTAssertEqual(result.keyChainVersion, MSIDWPJKeychainAccessGroupV2);
128128
CFStringRef cName = NULL;
@@ -769,3 +769,9 @@ - (OSStatus)addPrimaryEccDefaultRegistrationForTenantId:(NSString *)tenantId
769769
}
770770

771771
@end
772+
773+
774+
@implementation MSIDWorkPlaceJoinUtilTests (TransportKey)
775+
776+
777+
@end

0 commit comments

Comments
 (0)