diff --git a/Tests/objc/BridgingTests.m b/Tests/objc/BridgingTests.m index 3d962ffba..95997c991 100644 --- a/Tests/objc/BridgingTests.m +++ b/Tests/objc/BridgingTests.m @@ -14,7 +14,7 @@ - (void)testDirections { MBRouteOptions *options = [[MBRouteOptions alloc] initWithLocations:locations profileIdentifier:MBDirectionsProfileIdentifierAutomobileAvoidingTraffic]; - MBDirections *directions = [[MBDirections alloc] initWithAccessToken:nil]; + MBDirections *directions = [[MBDirections alloc] initWithAccessToken:@"foo"]; [directions calculateDirectionsWithOptions:options completionHandler:^(NSArray * _Nullable waypoints, NSArray * _Nullable routes, NSError * _Nullable error) {