Skip to content

Commit

Permalink
use net45 guard
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexNDRmac committed Dec 19, 2024
1 parent 7c60140 commit 6fdf959
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
10 changes: 5 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ and this project adheres to [Semantic Versioning](http://semver.org).
- `IFolderService.GetAllFoldersAsync` that allows you to get all user Folders with documents
- `IFolderService.GetFolderAsync` that allows you to get all details of a specific folder including all documents in that folder.
- `IFolderService.CreateFolderAsync` that allows you to create folder for a user.
- `IFolderService.DeleteFolderAsync` that allows you to deletes a folder.
- `IFolderService.RenameFolderAsync` that allows you to renames a folder.
- `IFolderService.DeleteFolderAsync` that allows you to delete a folder.
- `IFolderService.RenameFolderAsync` that allows you to rename a folder.
- `IDocumentService.MoveDocumentAsync` that allows you to move the document to a specified folder.


Expand Down Expand Up @@ -129,8 +129,8 @@ and this project adheres to [Semantic Versioning](http://semver.org).
- `Service.DocumentService.CreateOneTimeDownloadLinkAsync` that allows to share document via one-time URL
- `Service.UserService.CreateUserAsync` that allows to create an account for user
- `Service.UserService.UpdateUserAsync` that allows to update user information i.e. first name, last name
- `Service.UserService.SendVerificationEmailAsync` that allows to sends verification email to a user
- `Service.UserService.SendPasswordResetLinkAsync` that allows to sends password reset link to a user
- `Service.UserService.SendVerificationEmailAsync` that allows to send verification email to a user
- `Service.UserService.SendPasswordResetLinkAsync` that allows to send password reset link to a user

### Changed
- Increased timeout for Http Client
Expand Down Expand Up @@ -224,7 +224,7 @@ and this project adheres to [Semantic Versioning](http://semver.org).
- Implemented document ID parameter value validation in DocumentService.DeleteDocumentAsync method.


<!-- Aliases for URLs: please place here any long urls to keep clean markdown markup -->
<!-- Aliases for URLs: please place here any long urls to keep clean Markdown markup -->
[create role-based invite]: https://github.com/signnow/SignNow.NET/blob/develop/README.md#create-role-based-invite
[create freeform invite]: https://github.com/signnow/SignNow.NET/blob/develop/README.md#create-freeform-invite

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public void ExceptionShouldContainsExceptionsList()

Assert.AreEqual(10, snEx.InnerExceptions.Count);

#if NETFRAMEWORK && WINDOWS
#if NET45_OR_GREATER && WINDOWS
expectedMessage = generalMessage;
#endif
Assert.AreEqual(expectedMessage, snEx.Message, "Wrong error Message");
Expand All @@ -68,8 +68,6 @@ public void ExceptionCanHandledAsAggregation()
var snExceptions = new List<SignNowException>();
var aggregateMessage = new StringBuilder();



for (var i = 0; i < 5; i++)
{
snExceptions.Add(
Expand All @@ -85,7 +83,7 @@ public void ExceptionCanHandledAsAggregation()
catch (AggregateException ex)
{
var expectedMessage = "test-error-message" + aggregateMessage;
#if NETFRAMEWORK && WINDOWS
#if NET45_OR_GREATER && WINDOWS
expectedMessage = "test-error-message";
#endif
Assert.AreEqual(expectedMessage, ex.Message);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void ExceptionShouldHaveInnerException()
var exception = new SignNowException(TestMessage, innerEx);
var expectedMessage = TestMessage + $" ({innerExMessage})";

#if NETFRAMEWORK && WINDOWS
#if NET45_OR_GREATER && WINDOWS
expectedMessage = TestMessage;
#endif

Expand Down

0 comments on commit 6fdf959

Please sign in to comment.