Skip to content

Commit 3aa618b

Browse files
committed
fix: ios tests
1 parent 270940c commit 3aa618b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/ios/InstabugTests/BugReportingApiTests.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ - (void)testSetCommentMinimumCharacterCountGivenReportTypes {
162162

163163
[self.api setCommentMinimumCharacterCountLimit:limit reportTypes:reportTypes error:&error];
164164

165-
OCMVerify([self.mBugReporting setCommentMinimumCharacterCountForReportTypes:IBGBugReportingReportTypeBug | IBGBugReportingReportTypeQuestion withLimit:limit.intValue]);
165+
OCMVerify([self.mBugReporting setCommentMinimumCharacterCount:limit.intValue forBugReportType:IBGBugReportingReportTypeBug | IBGBugReportingReportTypeQuestion]);
166166
}
167167

168168
- (void)testSetCommentMinimumCharacterCountGivenNoReportTypes {
@@ -172,7 +172,7 @@ - (void)testSetCommentMinimumCharacterCountGivenNoReportTypes {
172172

173173
[self.api setCommentMinimumCharacterCountLimit:limit reportTypes:reportTypes error:&error];
174174

175-
OCMVerify([self.mBugReporting setCommentMinimumCharacterCountForReportTypes:IBGBugReportingReportTypeBug | IBGBugReportingReportTypeFeedback | IBGBugReportingReportTypeQuestion withLimit:limit.intValue]);
175+
OCMVerify([self.mBugReporting setCommentMinimumCharacterCount:limit.intValue forBugReportType:IBGBugReportingReportTypeBug | IBGBugReportingReportTypeFeedback | IBGBugReportingReportTypeQuestion]);
176176
}
177177
- (void)testAddUserConsentWithKey {
178178
NSString *key = @"testKey";

0 commit comments

Comments
 (0)