File tree Expand file tree Collapse file tree
NuGetGallery.FunctionalTests.Core
NuGetGallery.FunctionalTests/PackageRetrieval Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,14 +32,13 @@ public static class Constants
3232 public const string StatsPageDefaultText = "Statistics last updated" ;
3333 public const string ContactOwnersText = "Your message has been sent to the owners of" ;
3434 public const string UnListedPackageText = "This package is unlisted and hidden from package listings" ;
35- public const string TestAccount = "NugetTestAccount " ;
35+ public const string TestDataAccount = "NuGetTestData " ;
3636 public const string TestPackageId = "BaseTestPackage" ;
3737 public const string TestPackageIdDotNetTool = "BaseTestPackage.DotnetTool" ;
3838 public const string TestPackageIdARandomType = "BaseTestPackage.ARandomType" ;
3939 public const string TestPackageIdTemplate = "BaseTestPackage.Template" ;
4040 public const string TestPackageIdWithPrereleases = "BaseTestPackage.SearchFilters" ;
4141 public const string TestPackageIdNoStable = "BaseTestPackage.NoStable" ;
42- public const string TestOrganizationCollaboratorPackageId = "BaseTestOrganizationCollaboratorPackage" ;
4342 public const string ReadOnlyModeError = "Error 503 - Read-only Mode" ;
4443 public const string UploadFailureMessage = "The package upload via Nuget.exe didnt succeed properly. Check the logs to see the process error and output stream" ;
4544 public const string PackageInstallFailureMessage = "Package install failed. Either the file is not present on disk or it is corrupted. Check logs for details" ;
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public async Task MakeSureSortedByDownloadsWork(
3838 var sortByParam = string . IsNullOrEmpty ( sortBy ) ? string . Empty : $ "&sortBy={ sortBy } ";
3939 var feedUrl = new Uri (
4040 new Uri ( UrlHelper . BaseUrl ) ,
41- $ "/packages?testData=true&q=owner%3A{ Constants . TestAccount } { sortByParam } ") ;
41+ $ "/packages?testData=true&q=owner%3A{ Constants . TestDataAccount } { sortByParam } ") ;
4242
4343 // Act
4444 using ( var httpClient = new HttpClient ( ) )
@@ -65,7 +65,7 @@ public async Task MakeSureLastUpdatedSortingWorks(string sortBy)
6565 var sortByParam = string . IsNullOrEmpty ( sortBy ) ? string . Empty : $ "&sortBy={ sortBy } ";
6666 var feedUrl = new Uri (
6767 new Uri ( UrlHelper . BaseUrl ) ,
68- $ "/packages?testData=true&q=owner%3A{ Constants . TestAccount } { sortByParam } ") ;
68+ $ "/packages?testData=true&q=owner%3A{ Constants . TestDataAccount } { sortByParam } ") ;
6969
7070 // Act
7171 using ( var httpClient = new HttpClient ( ) )
@@ -97,7 +97,7 @@ public async Task ExpectPackageTypeFilterToWork(
9797 var packageTypeParam = string . IsNullOrEmpty ( packageType ) ? string . Empty : $ "&packageType={ packageType } ";
9898 var feedUrl = new Uri (
9999 new Uri ( UrlHelper . BaseUrl ) ,
100- $ "/packages?testData=true&q=packageid%3A{ Uri . EscapeUriString ( id ) } +owner%3A{ Constants . TestAccount } { packageTypeParam } ") ;
100+ $ "/packages?testData=true&q=packageid%3A{ Uri . EscapeUriString ( id ) } +owner%3A{ Constants . TestDataAccount } { packageTypeParam } ") ;
101101
102102 // Act
103103 using ( var httpClient = new HttpClient ( ) )
You can’t perform that action at this time.
0 commit comments