Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rsa8e #487

Merged
merged 5 commits into from
Sep 13, 2016
Merged

Rsa8e #487

merged 5 commits into from
Sep 13, 2016

Conversation

EvgenyKarkan
Copy link
Contributor

@EvgenyKarkan EvgenyKarkan commented Aug 31, 2016


let mergedParams2 = rest.auth.mergeParams(tokenParams2)
expect(mergedParams2.ttl) == 25.0
expect(mergedParams2.clientId).to(beNil())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not really following the test code here. Thee test code is not testing the requestToken method here but instead you are testing private undocumented APIs. The point of the test is to "should not merge with the configured params and options but instead replace all corresponding values, even when @null@" yet this is not asserting that?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many thanks, I'll improve it.

@@ -91,6 +91,7 @@ ART_ASSUME_NONNULL_BEGIN
- (NSString *)description;

- (ARTAuthOptions *)mergeWith:(ARTAuthOptions *)precedenceOptions;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this function called from somewhere now?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, in authorise method.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I'll guess it will go away later as now authorize also replaces rather than merging.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exactly.

@tcard tcard mentioned this pull request Sep 7, 2016
@EvgenyKarkan
Copy link
Contributor Author

@tcard thanks for feedback, please find time to review.

@tcard
Copy link
Contributor

tcard commented Sep 8, 2016

LGTM

@tcard tcard merged commit a157ad6 into master Sep 13, 2016
@ricardopereira ricardopereira deleted the RSA8e branch September 28, 2016 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants