Skip to content

Commit ccf9e0a

Browse files
committed
Add target specific test run condition
1 parent e537e16 commit ccf9e0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

IdentityCore/tests/integration/MSIDDefaultTokenCacheIntegrationTests.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ - (void)setUpEnrollmentIdsCache:(BOOL)isEmpty
917917
MSIDIntuneEnrollmentIdsCache *enrollmentIdsCache = [[MSIDIntuneEnrollmentIdsCache alloc] initWithDataSource:memoryCache];
918918
[MSIDIntuneEnrollmentIdsCache setSharedCache:enrollmentIdsCache];
919919
}
920-
920+
#if TARGET_OS_IPHONE
921921
#pragma mark - getRefreshTokenWithAccount Tests
922922

923923
- (void)testGetRefreshTokenWithAccount_whenBartFeatureEnabled_shouldUseBoundRefreshTokenType
@@ -1082,5 +1082,5 @@ - (void)testGetRefreshTokenWithAccount_whenBartFeatureEnabled_shouldUseBoundRefr
10821082
XCTAssertEqualObjects(((MSIDBoundRefreshToken *)retrievedToken).boundDeviceId, tokenResponse.boundAppRefreshTokenDeviceId);
10831083
XCTAssertEqualObjects(retrievedToken.familyId, @"1");
10841084
}
1085-
1085+
#endif
10861086
@end

0 commit comments

Comments
 (0)