Skip to content

Commit

Permalink
test: fixed a repeated typo in a property name inside FirebaseDynamic…
Browse files Browse the repository at this point in the history
…Links (#13907)
  • Loading branch information
MojtabaHs authored Oct 21, 2024
1 parent 9834ad5 commit 0e80c7c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions FirebaseDynamicLinks/Tests/Unit/FDLURLComponentsTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -482,11 +482,11 @@ - (void)testFDLComponentsFactoryReturnsInstanceWithAllNilProperties {

- (void)testFDLComponentsCreatesSimplestLinkCorrectly {
NSString *linkString = @"https://google.com";
NSString *endcodedLinkString = @"https%3A%2F%2Fgoogle%2Ecom";
NSString *encodedLinkString = @"https%3A%2F%2Fgoogle%2Ecom";
NSURL *link = [NSURL URLWithString:linkString];

NSString *expectedURLString =
[NSString stringWithFormat:@"%@/?link=%@", kFDLURLDomain, endcodedLinkString];
[NSString stringWithFormat:@"%@/?link=%@", kFDLURLDomain, encodedLinkString];
NSURL *expectedURL = [NSURL URLWithString:expectedURLString];

FIRDynamicLinkComponents *components =
Expand All @@ -498,11 +498,11 @@ - (void)testFDLComponentsCreatesSimplestLinkCorrectly {

- (void)testFDLComponentsCustomDomainWithPath {
NSString *linkString = @"https://google.com";
NSString *endcodedLinkString = @"https%3A%2F%2Fgoogle%2Ecom";
NSString *encodedLinkString = @"https%3A%2F%2Fgoogle%2Ecom";
NSURL *link = [NSURL URLWithString:linkString];

NSString *expectedURLString =
[NSString stringWithFormat:@"%@/?link=%@", kFDLURLCustomDomain, endcodedLinkString];
[NSString stringWithFormat:@"%@/?link=%@", kFDLURLCustomDomain, encodedLinkString];
NSURL *expectedURL = [NSURL URLWithString:expectedURLString];

FIRDynamicLinkComponents *components =
Expand Down

0 comments on commit 0e80c7c

Please sign in to comment.