-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add API tests for hashed email and phone number
- Loading branch information
Showing
2 changed files
with
4 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,6 +60,8 @@ - (void)consentTests:(NSURL *)url { | |
- (void)onDeviceConversionTests:(NSURL *)url { | ||
[FIRAnalytics initiateOnDeviceConversionMeasurementWithEmailAddress:@"[email protected]"]; | ||
[FIRAnalytics initiateOnDeviceConversionMeasurementWithPhoneNumber:@"+15555555555"]; | ||
[FIRAnalytics initiateOnDeviceConversionMeasurementWithHashedEmailAddress:[NSData data]]; | ||
[FIRAnalytics initiateOnDeviceConversionMeasurementWithHashedPhoneNumber:[NSData data]]; | ||
} | ||
|
||
- (NSArray<NSString *> *)eventNames { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,6 +73,8 @@ final class AnalyticsAPITests { | |
|
||
Analytics.initiateOnDeviceConversionMeasurement(emailAddress: "[email protected]") | ||
Analytics.initiateOnDeviceConversionMeasurement(phoneNumber: "+15555555555") | ||
Analytics.initiateOnDeviceConversionMeasurement(hashedEmailAddress: Data()) | ||
Analytics.initiateOnDeviceConversionMeasurement(hashedPhoneNumber: Data()) | ||
|
||
// MARK: - EventNames | ||
|
||
|