Skip to content

Conversation

@martinrrm
Copy link
Contributor

Bug

Fixes: https://github.com/NuGet/Client.Engineering/issues/2430

Regression? Last working version:

Description

Removes unused Moq reference in E2E test

PR Checklist

  • PR has a meaningful title

  • PR has a linked issue.

  • Described changes

  • Tests

    • Automated tests added
    • OR
    • Test exception
    • OR
    • N/A
  • Documentation

    • Documentation PR or issue filled
    • OR
    • N/A

@martinrrm martinrrm requested a review from a team as a code owner August 14, 2023 22:26
@martinrrm martinrrm changed the title remove moq package from test Remove unused Moq package from E2E Aug 14, 2023
Copy link
Contributor

@donnie-msft donnie-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice find!

@aortiz-msft aortiz-msft self-requested a review August 15, 2023 00:00
function Test-TabExpansionForVersionForUninstallPackage {
# Arrange
$p = New-WebApplication
$p | Install-Package elmah -Version 1.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we use this opportunity to move all our tests to .NET or Azure SDK packages?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just looked at "elmah" package and its being used 156 times in all kind of files, even in commmand line outputs 😨

Maybe that task is big and we will need to create another task for that, I suggest fixing this asap first

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please create an issue to track that?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

function Test-TabExpansionForVersionForUninstallPackage {
# Arrange
$p = New-WebApplication
$p | Install-Package elmah -Version 1.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please create an issue to track that?

@martinrrm martinrrm merged commit ff1f1bb into dev Aug 16, 2023
@martinrrm martinrrm deleted the dev-martinrrm-remove-moq-from-tests branch August 16, 2023 00:41
nkolev92 added a commit that referenced this pull request Oct 2, 2023
* Update dependencies in E2E tests (#4767)

* Fix component detection alert for microsoft.owin package (#4841)

* Remove package for Microsoft.Owin in End2end test

* Address component detection failure newtonsoft.json 4.0.1 (#4934)

* remove unused Moq package from E2E test (#5358)

---------

Co-authored-by: Heng Liu <[email protected]>
Co-authored-by: Erick Yondon <[email protected]>
Co-authored-by: Martin Ruiz <[email protected]>
nkolev92 added a commit that referenced this pull request Oct 2, 2023
* Update dependencies in E2E tests (#4767)

* Fix component detection alert for microsoft.owin package (#4841)

* Remove package for Microsoft.Owin in End2end test

* Address component detection failure newtonsoft.json 4.0.1 (#4934)

* remove unused Moq package from E2E test (#5358)

* Use net6.0-windows

---------

Co-authored-by: Heng Liu <[email protected]>
Co-authored-by: Erick Yondon <[email protected]>
Co-authored-by: Martin Ruiz <[email protected]>
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.

5 participants