Skip to content

Commit ac15859

Browse files
authored
Merge pull request #9024 from NuGet/dg-ableistlanguage
Improve inclusiveness of language used in code
2 parents ce589c5 + 359a21d commit ac15859

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/NuGetGallery.Facts/Authentication/AuthenticationServiceFacts.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2448,9 +2448,9 @@ public static bool VerifyPasswordHash(string hash, string algorithm, string pass
24482448
var validator = CredentialValidator.Validators[algorithm];
24492449
bool canAuthenticate = validator(password, new Credential { Value = hash });
24502450

2451-
bool sanity = validator("not_the_password", new Credential { Value = hash });
2451+
bool confidenceCheck = validator("not_the_password", new Credential { Value = hash });
24522452

2453-
return canAuthenticate && !sanity;
2453+
return canAuthenticate && !confidenceCheck;
24542454
}
24552455
}
24562456
}

tests/NuGetGallery.FunctionalTests/Commandline/NuGetCommandLineTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public async Task LockedPackageCannotBeModified()
155155
Assert.Contains("locked", processResult.StandardError);
156156

157157
// 2. Try unlisting the locked package
158-
// Perform a sanity check that the package exists
158+
// Perform a spot check that the package exists
159159
await _clientSdkHelper.VerifyPackageExistsInV2Async(LockedPackageId, LockedPackageVersion);
160160
TestOutputHelper.WriteLine($"5. Trying to unlist locked package '{LockedPackageId}', version '{LockedPackageVersion}'.");
161161
processResult = await _commandlineHelper.DeletePackageAsync(LockedPackageId, LockedPackageVersion, UrlHelper.V2FeedPushSourceUrl);

tests/NuGetGallery.FunctionalTests/Statistics/PackageStatisticsTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class PackageStatisticsTests
1818
[Description("Verify the webresponse for stats/downloads/last6weeks/ returns all 6 fields")]
1919
[Priority(1)]
2020
[Category("P1Tests")]
21-
public async Task PackageFeedStatsSanityTest()
21+
public async Task PackageFeedStatsConfidenceTest()
2222
{
2323
var requestUrl = UrlHelper.V2FeedRootUrl + @"stats/downloads/last6weeks/";
2424

0 commit comments

Comments
 (0)