Skip to content

Commit a4194e8

Browse files
committed
Update FlightManagerMockProvider with new methods.
1 parent fc487a5 commit a4194e8

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

IdentityCore/tests/mocks/MSIDFlightManagerMockProvider.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ NS_ASSUME_NONNULL_BEGIN
3030
@interface MSIDFlightManagerMockProvider : NSObject <MSIDFlightManagerInterface>
3131

3232
@property (nonatomic) NSDictionary *boolForKeyContainer;
33+
@property (nonatomic) NSDictionary *stringForKeyContainer;
3334

3435
@end
3536

IdentityCore/tests/mocks/MSIDFlightManagerMockProvider.m

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,10 @@ - (BOOL)boolForKey:(NSString *)flightKey
3232
return [self.boolForKeyContainer[flightKey] boolValue];
3333
}
3434

35+
- (nullable NSString *)stringForKey:(nonnull NSString *)flightKey
36+
{
37+
return self.stringForKeyContainer[flightKey];
38+
}
39+
40+
3541
@end

0 commit comments

Comments
 (0)