Skip to content

Commit a5da88d

Browse files
authored
Fix unaccessible init in FDL tests. (#3338)
This causes a breakage with internal tests.
1 parent 6ea0fbd commit a5da88d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Example/DynamicLinks/Tests/FIRDynamicLinksTest.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ @implementation FakeShortLinkResolver {
9090
}
9191

9292
+ (instancetype)resolverWithBlock:(FakeShortLinkResolverHandler)resolverHandler {
93-
FakeShortLinkResolver *resolver = [[self alloc] init];
93+
// The parameters don't matter since they aren't validated or used here.
94+
FakeShortLinkResolver *resolver = [[self alloc] initWithAPIKey:@"" clientID:@"" URLScheme:@""];
9495
resolver->_resolverHandler = [resolverHandler copy];
9596
return resolver;
9697
}

0 commit comments

Comments
 (0)