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

Commits on Jun 3, 2023

  1. 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')
    0xced committed Jun 3, 2023
    Configuration menu
    Copy the full SHA
    756b0f1 View commit details
    Browse the repository at this point in the history
  2. Fix HostIntegrationTests

    Resolving services from the root provider was throwing `System.InvalidOperationException`
    > Cannot resolve scoped service 'BaGet.Core.IContext' from root provider.
    0xced committed Jun 3, 2023
    Configuration menu
    Copy the full SHA
    01ee9ae View commit details
    Browse the repository at this point in the history