-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Enable NuGet Audit and Fix Errors #12120
Conversation
</PropertyGroup> | ||
<!-- Additional unchanging dependencies --> | ||
<PropertyGroup> | ||
<MicrosoftTargetingPackNETFrameworkv472PackageVersion>1.0.0</MicrosoftTargetingPackNETFrameworkv472PackageVersion> | ||
<MicrosoftWindowsDesktopAppRefv30PackageVersion>3.0.0</MicrosoftWindowsDesktopAppRefv30PackageVersion> | ||
<NewtonsoftJsonVersion>13.0.1</NewtonsoftJsonVersion> | ||
<VsWherePackageVersion>2.6.7</VsWherePackageVersion> | ||
<!-- Pin transitive dependency to avoid vulnerable 8.0.0 version. --> | ||
<SystemFormatsAsn1PackageVersion>8.0.1</SystemFormatsAsn1PackageVersion> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Created issue to track unpinning this #12121
[WinFormsFact] | ||
public void Dispose_Invoke_CallsDisposeDisposing() | ||
{ | ||
Mock<ApplicationContext> mockContext = new(MockBehavior.Strict); | ||
mockContext |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the upgrade to latest moq version, I get errors with moq complaining that there is no protected Dispose(bool) method even though there is. I have opted to avoiding mocking a test object and creating a real test object instead or just removing the Dispose setup if it doesn't look to be necessary.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #12120 +/- ##
===================================================
+ Coverage 75.21471% 75.22675% +0.01203%
===================================================
Files 3076 3079 +3
Lines 633053 633195 +142
Branches 46814 46817 +3
===================================================
+ Hits 476149 476332 +183
+ Misses 153517 153465 -52
- Partials 3387 3398 +11
Flags with carried forward coverage won't be shown. Click here to find out more. |
Related: dotnet/arcade#15019
Microsoft Reviewers: Open in CodeFlow