XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 1.6.0
    • 1.4.0
    • None
    • None

      Add unit test to AGRestAuthzModuleSpec.m
      Difficulties are:
      1. to find a way to mock
      requestAccess:(NSDictionary*) extraParameters
      success:(void (^)(id object))success
      failure:(void (^)(NSError *error))failure
      which called:
      [[UIApplication sharedApplication] openURL:[request URL]];

      2. find a way to test private method like

      exchangeAuthorizationCodeForAccessToken:(NSString*)code
      success:(void (^)(id object))success
      failure:(void (^)(NSError *error))failure

              corinnekrych_jira Corinne Krych (Inactive)
              corinnekrych_jira Corinne Krych (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: