aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/tests/APIv2Tests/APIv2Tests.m
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-12-07 10:29:24 -0800
committerGravatar Muxi Yan <mxyan@google.com>2018-12-07 10:29:24 -0800
commit92db5fc72488f9d62b81ee311a79832df787f3ef (patch)
treef9f2188c0e15bcbd2a72f446b3193281f1894ff0 /src/objective-c/tests/APIv2Tests/APIv2Tests.m
parentf0f6e03212837c67d7e078e6f33074e80aa4bcc0 (diff)
Rename getTokenWithHandler
Diffstat (limited to 'src/objective-c/tests/APIv2Tests/APIv2Tests.m')
-rw-r--r--src/objective-c/tests/APIv2Tests/APIv2Tests.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/tests/APIv2Tests/APIv2Tests.m b/src/objective-c/tests/APIv2Tests/APIv2Tests.m
index ca7bf47283..fd472aafeb 100644
--- a/src/objective-c/tests/APIv2Tests/APIv2Tests.m
+++ b/src/objective-c/tests/APIv2Tests/APIv2Tests.m
@@ -241,7 +241,7 @@ static const NSTimeInterval kTestTimeout = 16;
[self waitForExpectationsWithTimeout:kTestTimeout handler:nil];
}
-- (void)getTokenWithHandler:(void (^)(NSString *token))handler {
+- (void)provideTokenToHandler:(void (^)(NSString *token))handler {
dispatch_queue_t queue = dispatch_queue_create(NULL, DISPATCH_QUEUE_SERIAL);
dispatch_sync(queue, ^{
handler(@"test-access-token");