Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Fix GetToken #824

Closed
wants to merge 1 commit into from
Closed

Fix GetToken #824

wants to merge 1 commit into from

Conversation

HaoK
Copy link
Member

@HaoK HaoK commented Apr 24, 2017

Fixes #823

@Tratcher

@@ -24,6 +24,7 @@ public static IServiceCollection AddAuthenticationCore(this IServiceCollection s
throw new ArgumentNullException(nameof(services));
}

services.AddOptions();
Copy link
Member

Choose a reason for hiding this comment

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

Hosting always adds this, no? If you're just adding it for tests then add it in the tests.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yup just for tests, sure I can move to there I guess

@@ -117,7 +122,68 @@ public void UpdateTokenValueReturnsFalseForUnknownToken()
Assert.Null(props.GetTokenValue("ONE"));
Assert.Null(props.GetTokenValue("Jigglypuff"));
Copy link
Member

Choose a reason for hiding this comment

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

Jigglypuff?

Copy link
Member Author

Choose a reason for hiding this comment

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

Guessing your family doen't play pokemon go :)

Copy link
Member

Choose a reason for hiding this comment

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

Oh I recognized it. Testing on Pokemon is ethically discouraged, that's what Chell is for.

@HaoK
Copy link
Member Author

HaoK commented Apr 24, 2017

3085f01

@HaoK HaoK closed this Apr 24, 2017
@natemcmaster natemcmaster deleted the haok/tokfix branch November 20, 2018 06:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants