Skip to content

Commit

Permalink
tests change
Browse files Browse the repository at this point in the history
  • Loading branch information
morisgateno-appsflyer committed Aug 7, 2024
1 parent b578a5d commit 22354cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions SegmentAppsFlyeriOSTests/SEGAppsFlyerIntegrationTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,7 @@ - (void)testSEGAppsFlyerIntegration_onConversionDataFail_happyflow{
id SEGAppsFlyerIntegrationTestsMock = OCMClassMock([SEGAppsFlyerIntegrationTests class]);
OCMStub([SEGAppsFlyerIntegrationTestsMock onConversionDataFail:[OCMArg checkWithBlock:^BOOL(id obj) {
XCTAssertTrue([obj isEqual:error]);
return true;
}]]);

SEGAppsFlyerIntegration *integrationObject = [[SEGAppsFlyerIntegration alloc] initWithSettings:@{} withAnalytics:nil andDelegate:SEGAppsFlyerIntegrationTestsMock];
Expand All @@ -497,6 +498,7 @@ - (void)testSEGAppsFlyerIntegration_onAppOpenAttribution_happyflow{
id SEGAppsFlyerIntegrationTestsMock = OCMClassMock([SEGAppsFlyerIntegrationTests class]);
OCMStub([SEGAppsFlyerIntegrationTestsMock onAppOpenAttribution:[OCMArg checkWithBlock:^BOOL(id obj) {
XCTAssertTrue([obj isEqualToDictionary:attributionData]);
return true;
}]]);

SEGAppsFlyerIntegration *integrationObject = [[SEGAppsFlyerIntegration alloc] initWithSettings:@{} withAnalytics:nil andDelegate:SEGAppsFlyerIntegrationTestsMock];
Expand All @@ -515,6 +517,7 @@ - (void)testSEGAppsFlyerIntegration_onAppOpenAttributionFailure_happyflow{
id SEGAppsFlyerIntegrationTestsMock = OCMClassMock([SEGAppsFlyerIntegrationTests class]);
OCMStub([SEGAppsFlyerIntegrationTestsMock onAppOpenAttribution:[OCMArg checkWithBlock:^BOOL(id obj) {
XCTAssertTrue([obj isEqual:error]);
return true;
}]]);

SEGAppsFlyerIntegration *integrationObject = [[SEGAppsFlyerIntegration alloc] initWithSettings:@{} withAnalytics:nil andDelegate:SEGAppsFlyerIntegrationTestsMock];
Expand All @@ -533,6 +536,7 @@ - (void)testSEGAppsFlyerIntegration_didResolveDeepLink_happyflow{
id SEGAppsFlyerIntegrationTestsMock = OCMClassMock([SEGAppsFlyerIntegrationTests class]);
OCMStub([SEGAppsFlyerIntegrationTestsMock onAppOpenAttribution:[OCMArg checkWithBlock:^BOOL(id obj) {
XCTAssertTrue([obj isEqual:result]);
return true;
}]]);

SEGAppsFlyerIntegration *integrationObject = [[SEGAppsFlyerIntegration alloc] initWithSettings:@{} withAnalytics:nil andDelegate:SEGAppsFlyerIntegrationTestsMock];
Expand Down

0 comments on commit 22354cb

Please sign in to comment.