Skip to content

Commit

Permalink
Use access token
Browse files Browse the repository at this point in the history
  • Loading branch information
frederoni committed Apr 16, 2019
1 parent 9015eda commit 658a406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/objc/BridgingTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -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<MBWaypoint *> * _Nullable waypoints, NSArray<MBRoute *> * _Nullable routes, NSError * _Nullable error) {

Expand Down

0 comments on commit 658a406

Please sign in to comment.