pinlu преди 3 години
родител
ревизия
8566e797d0
променени са 2 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 1 1
      GoogleSignIn/Sources/GIDProfileDataFetcher/API/GIDProfileDataFetcher.h
  2. 3 3
      GoogleSignIn/Tests/Unit/GIDProfileDataFetcherTest.m

+ 1 - 1
GoogleSignIn/Sources/GIDProfileDataFetcher/API/GIDProfileDataFetcher.h

@@ -26,7 +26,7 @@ NS_ASSUME_NONNULL_BEGIN
 /// Fetches the latest @GIDProfileData object.
 ///
 /// This method either extracts the profile data out of the OIDAuthState object or fetches it
-/// from the Google user Info server.
+/// from the Google user info server.
 ///
 /// @param authState The state of the current OAuth session.
 /// @param completion The block that is called on completion asynchronously.

+ 3 - 3
GoogleSignIn/Tests/Unit/GIDProfileDataFetcherTest.m

@@ -55,7 +55,7 @@ static NSInteger const kErrorCode = 400;
   [_httpFetcher setTestBlock:testBlock];
   
   XCTestExpectation *expectation =
-      [self expectationWithDescription:@"Callback called with no error"];
+      [self expectationWithDescription:@"completion is invoked"];
   
   [_profileDataFetcher
       fetchProfileDataWithAuthState:authState
@@ -91,7 +91,7 @@ static NSInteger const kErrorCode = 400;
   [_httpFetcher setTestBlock:testBlock];
   
   XCTestExpectation *completionExpectation =
-      [self expectationWithDescription:@"Callback called with error"];
+      [self expectationWithDescription:@"completion is invoked"];
   
   [_profileDataFetcher
       fetchProfileDataWithAuthState:authState
@@ -127,7 +127,7 @@ static NSInteger const kErrorCode = 400;
   [_httpFetcher setTestBlock:testBlock];
   
   XCTestExpectation *completionExpectation =
-      [self expectationWithDescription:@"Callback called with error"];
+      [self expectationWithDescription:@"completion is invoked"];
   
   [_profileDataFetcher
       fetchProfileDataWithAuthState:authState