@@ -908,37 +908,6 @@ public async Task VerifyDeletedAssetsFileIsBackByRestoringPackage()
908908 CommonUtility . WaitForFileExists ( new FileInfo ( assetsFilePath ) ) ;
909909 }
910910
911- [ TestMethod ]
912- [ Timeout ( DefaultTimeout ) ]
913- public async Task VerifyDeletedAssetsFileIsBackByReloadingProject ( )
914- {
915- // Arrange
916- await CommonUtility . CreatePackageInSourceAsync ( _pathContext . PackageSource , TestPackageName , TestPackageVersionV1 ) ;
917-
918- NuGetApexTestService nugetTestService = GetNuGetTestService ( ) ;
919- _pathContext . Settings . SetPackageFormatToPackageReference ( ) ;
920-
921- SolutionService solutionService = VisualStudio . Get < SolutionService > ( ) ;
922- solutionService . CreateEmptySolution ( "TestSolution" , _pathContext . SolutionRoot ) ;
923- ProjectTestExtension project = solutionService . AddProject ( ProjectLanguage . CSharp , ProjectTemplate . NetCoreConsoleApp , "TestProject" ) ;
924- VisualStudio . ClearOutputWindow ( ) ;
925- solutionService . SaveAll ( ) ;
926-
927- CommonUtility . OpenNuGetPackageManagerWithDte ( VisualStudio , Logger ) ;
928- NuGetUIProjectTestExtension uiwindow = nugetTestService . GetUIWindowfromProject ( project ) ;
929- uiwindow . InstallPackageFromUI ( TestPackageName , TestPackageVersionV1 ) ;
930-
931- var assetsFilePath = CommonUtility . GetAssetsFilePath ( project . FullPath ) ;
932- CommonUtility . WaitForFileExists ( new FileInfo ( assetsFilePath ) ) ;
933- File . Delete ( assetsFilePath ) ;
934-
935- // Act
936- CommonUtility . AutoRestorePackageByReloadingProject ( VisualStudio , project ) ;
937-
938- // Assert
939- CommonUtility . WaitForFileExists ( new FileInfo ( assetsFilePath ) ) ;
940- }
941-
942911 public override void Dispose ( )
943912 {
944913 _pathContext . Dispose ( ) ;
0 commit comments