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

Fix unit tests #770

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Fix unit tests #770

wants to merge 2 commits into from

Conversation

0xced
Copy link

@0xced 0xced commented Jun 3, 2023

  • Fix TheRegistrationIndexResponseIsSortedByVersion test

The implicit conversion from the default DateTime to DateTimeOffset was throwing System.ArgumentOutOfRangeException

The UTC time represented when the offset is applied must be between year 0 and 10,000. (Parameter 'offset')

  • Fix HostIntegrationTests

Resolving services from the root provider was throwing System.InvalidOperationException

Cannot resolve scoped service 'BaGet.Core.IContext' from root provider.

0xced added 2 commits June 3, 2023 15:03
The implicit conversion from the default DateTime to DateTimeOffset was throwing `System.ArgumentOutOfRangeException`
> The UTC time represented when the offset is applied must be between year 0 and 10,000. (Parameter 'offset')
Resolving services from the root provider was throwing `System.InvalidOperationException`
> Cannot resolve scoped service 'BaGet.Core.IContext' from root provider.
VAllens added a commit to VAllens/BaGet that referenced this pull request Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant