File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
InstabugSample/ios/InstabugSampleTests Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -322,9 +322,9 @@ - (void)testShowingSurveyWithToken {
322322 */
323323
324324- (void ) testgivenBoolean $setBugReportingEnabled_whenQuery_thenShouldCallNativeApi {
325- BOOL enabled = false ;
325+ BOOL enabled = true ;
326326 [self .instabugBridge setBugReportingEnabled: enabled];
327- XCTAssertFalse (IBGBugReporting.enabled );
327+ XCTAssertTrue (IBGBugReporting.enabled );
328328}
329329
330330- (void ) testgivenInvocationEvent $setInvocationEvents_whenQuery_thenShouldCallNativeApiWithArgs {
@@ -495,9 +495,9 @@ - (void) testgivenArgs$showBugReportingWithReportTypeAndOptions_whenQuery_thenSh
495495}
496496
497497- (void ) testgivenBoolean $setAutoScreenRecordingEnabled_whenQuery_thenShouldCallNativeApi {
498- BOOL enabled = false ;
498+ BOOL enabled = true ;
499499 [self .instabugBridge setAutoScreenRecordingEnabled: enabled];
500- XCTAssertFalse (IBGBugReporting.autoScreenRecordingEnabled );
500+ XCTAssertTrue (IBGBugReporting.autoScreenRecordingEnabled );
501501}
502502
503503- (void ) testgivenArgs $setAutoScreenRecordingMaxDuration_whenQuery_thenShouldCallNativeApi {
@@ -507,9 +507,9 @@ - (void) testgivenArgs$setAutoScreenRecordingMaxDuration_whenQuery_thenShouldCal
507507}
508508
509509- (void ) testgivenBoolean $setViewHierarchyEnabled_whenQuery_thenShouldCallNativeApi {
510- BOOL enabled = false ;
511- [self .instabugBridge setViewHierarchyEnabled : enabled];
512- XCTAssertFalse (IBGBugReporting.shouldCaptureViewHierarchy );
510+ BOOL enabled = true ;
511+ [self .instabugBridge setViewHirearchyEnabled : enabled];
512+ XCTAssertTrue (IBGBugReporting.shouldCaptureViewHierarchy );
513513}
514514
515515
Original file line number Diff line number Diff line change 116116
117117- (void )setAutoScreenRecordingMaxDuration : (CGFloat)duration ;
118118
119- - (void )setViewHierarchyEnabled : (BOOL )viewHierarchyEnabled ;
119+ - (void )setViewHirearchyEnabled : (BOOL )viewHirearchyEnabled ;
120120
121121@end
You can’t perform that action at this time.
0 commit comments