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

Removing static API #103

Closed
wants to merge 2 commits into from
Closed

Removing static API #103

wants to merge 2 commits into from

Conversation

abatishchev
Copy link
Member

  • Removing static API, tests

@abatishchev abatishchev added this to the 3.0 milestone May 1, 2017
@abatishchev abatishchev self-assigned this May 1, 2017
@abatishchev abatishchev requested a review from nbarbettini May 1, 2017 18:06
@nbarbettini
Copy link
Contributor

Nice! 🎉

@nbarbettini nbarbettini mentioned this pull request May 13, 2017
@nbarbettini
Copy link
Contributor

FYI - I rebased this onto master and created a new PR at #107.

public void Decode_Should_Decode_Token_To_Json_Encoded_String_With_WebScript_Serializer()
{
var serializer = new WebScriptJsonSerializer();
JsonWebToken.JsonSerializer = serializer;
Copy link
Contributor

Choose a reason for hiding this comment

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

These tests are now missing. I think we should modify them to use an instance instead of the static JsonWebToken object.

[Fact]
public void Should_Encode_Type_With_WebScript_Serializer()
{
JsonWebToken.JsonSerializer = new WebScriptJsonSerializer();
Copy link
Contributor

Choose a reason for hiding this comment

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

Ditto

@abatishchev abatishchev deleted the no-static-api branch May 13, 2017 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants