Skip to content

Commit acdcda7

Browse files
committed
fix: ios tests
1 parent f99c2a8 commit acdcda7

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

example/ios/InstabugTests/InstabugApiTests.m

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,13 @@ - (void)testSetThemeWithAllProperties {
647647
}
648648

649649
- (void)testSetFullscreen {
650+
NSNumber *isEnabled = @1;
651+
FlutterError *error;
652+
653+
[self.api setFullscreenIsEnabled:isEnabled error:&error];
654+
655+
// Since this is an empty implementation, we just verify the method can be called without error
656+
XCTAssertNil(error);
650657
}
651658

652659
@end

ios/Classes/Modules/InstabugApi.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ - (UIColor *)colorFromHexString:(NSString *)hexString {
579579
return [UIColor blackColor];
580580
}
581581

582-
- (void)setFullscreenIsFullscreen:(NSNumber *)isFullscreen error:(FlutterError *_Nullable *_Nonnull)error {
582+
- (void)setFullscreenIsEnabled:(NSNumber *)isEnabled error:(FlutterError *_Nullable *_Nonnull)error {
583583
// Empty implementation as requested
584584
}
585585

0 commit comments

Comments
 (0)