Version 2.0.0, with some new Management API, JWTToken auth support, Thumbnail generation #33
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request involves changes across multiple test files in the
MK.IO.Tests
project, mostly focusing on replacing hardcoded token strings with a constant value from a newConstants
class. Additionally, there are changes to theMK.IO
project, specifically in theAccountOperations
class and its interface, removing methods related to user profile information. The xUnit testing framework used in theMK.IO.Tests
project was also updated.Here are the most important changes:
Changes to test files:
MK.IO.Tests/AssetsOperationsTests.cs
: Replaced hardcoded token strings withConstants.jwtFakeToken
in multiple methods. [1] [2] [3] [4]MK.IO.Tests/ClientOperationsTests.cs
: New test class created with a constructor usingConstants.jwtFakeToken
for theMKIOClient
mock.MK.IO.Tests/Constants.cs
: NewConstants
class created withjwtFakeToken
constant.MK.IO.Tests/ContentKeyPoliciesOperationsTests.cs
: Replaced hardcoded token strings withConstants.jwtFakeToken
and renamed a test method to better reflect its purpose. [1] [2] [3] [4]MK.IO.Tests/JobsOperationsTests.cs
: Replaced hardcoded token string withConstants.jwtFakeToken
in the constructor. [1] [2] [3]MK.IO.Tests/MK.IO.Tests.csproj
: Updated versions ofxunit
andxunit.runner.visualstudio
packages.Changes to the main project:
MK.IO/Account/AccountOperations.cs
: Removed_accountProfileApiUrl
constant and methods related to getting user profile information. [1] [2] [3]MK.IO/Account/IAccountOperations.cs
: Removed methods related to getting user profile information.