-
-
Notifications
You must be signed in to change notification settings - Fork 402
Breaking change: Blazor StateManager does not use the provided timeout parameter #3910
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
760e17b
Updated ISessionManager and SessionManager with timeout and cancellat…
luizbicalhoagl d54e552
`Refactor SessionManager and StateManager for improved session handling`
luizbicalhoagl 911eb96
Refactor SessionManagerTests and remove certain test methods
luizbicalhoagl 2b35219
Refactor SessionManager and update related tests
luizbicalhoagl d648d77
Merge branch 'main' into main
luizfbicalho 33a0c17
`Convert SaveState to async in StateManager.cs`
luizbicalhoagl 8e4617b
Merge branch 'main' of https://github.com/luizfbicalho/csla
luizbicalhoagl 74ffc4c
`Update packages, refactor code, add tests, and remove project`
luizbicalhoagl ce84444
Updated SessionManager and its tests for async operations and better …
luizbicalhoagl 73e9986
Subject: Refactored test methods and updated session retrieval
luizbicalhoagl 5f59d4a
Refactor variable names to follow C# naming convention
luizbicalhoagl d9201aa
Merge branch 'main' into main
rockfordlhotka b6c01b9
Switch from Moq to NSubstitute in Csla.Blazor.WebAssembly.Tests
luizbicalhoagl 76c6b75
Merge branch 'main' of https://github.com/luizfbicalho/csla
luizbicalhoagl 57c3c5b
Merge branch 'main' into main
luizfbicalho File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Switch from Moq to NSubstitute in Csla.Blazor.WebAssembly.Tests
This commit represents a significant shift in the mocking framework used for unit testing in the `Csla.Blazor.WebAssembly.Tests.csproj` project. The `Moq` package has been replaced with `NSubstitute` in the project file and throughout the `SessionManagerTests.cs` file. This includes changes in the way mocks are created, set up, and how return values are specified for mocked methods and properties. Additionally, a new `TestHttpMessageHandler` class has been added to `SessionManagerTests.cs` to mock the behavior of an `HttpClient`. The `GetHttpClient` method has been updated to use this new class, aligning with the switch from `Moq` to `NSubstitute`.
- Loading branch information
commit b6c01b9ffac17e7fc3e80b1a95b44a5cee34aa7c
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Uh oh!
There was an error while loading. Please reload this page.