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 {
322
322
*/
323
323
324
324
- (void ) testgivenBoolean $setBugReportingEnabled_whenQuery_thenShouldCallNativeApi {
325
- BOOL enabled = false ;
325
+ BOOL enabled = true ;
326
326
[self .instabugBridge setBugReportingEnabled: enabled];
327
- XCTAssertFalse (IBGBugReporting.enabled );
327
+ XCTAssertTrue (IBGBugReporting.enabled );
328
328
}
329
329
330
330
- (void ) testgivenInvocationEvent $setInvocationEvents_whenQuery_thenShouldCallNativeApiWithArgs {
@@ -495,9 +495,9 @@ - (void) testgivenArgs$showBugReportingWithReportTypeAndOptions_whenQuery_thenSh
495
495
}
496
496
497
497
- (void ) testgivenBoolean $setAutoScreenRecordingEnabled_whenQuery_thenShouldCallNativeApi {
498
- BOOL enabled = false ;
498
+ BOOL enabled = true ;
499
499
[self .instabugBridge setAutoScreenRecordingEnabled: enabled];
500
- XCTAssertFalse (IBGBugReporting.autoScreenRecordingEnabled );
500
+ XCTAssertTrue (IBGBugReporting.autoScreenRecordingEnabled );
501
501
}
502
502
503
503
- (void ) testgivenArgs $setAutoScreenRecordingMaxDuration_whenQuery_thenShouldCallNativeApi {
@@ -507,9 +507,9 @@ - (void) testgivenArgs$setAutoScreenRecordingMaxDuration_whenQuery_thenShouldCal
507
507
}
508
508
509
509
- (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 );
513
513
}
514
514
515
515
Original file line number Diff line number Diff line change 116
116
117
117
- (void )setAutoScreenRecordingMaxDuration : (CGFloat)duration ;
118
118
119
- - (void )setViewHierarchyEnabled : (BOOL )viewHierarchyEnabled ;
119
+ - (void )setViewHirearchyEnabled : (BOOL )viewHirearchyEnabled ;
120
120
121
121
@end
You can’t perform that action at this time.
0 commit comments