Skip to content

Commit

Permalink
Merge branch 'master' into production
Browse files Browse the repository at this point in the history
  • Loading branch information
aled committed Jul 20, 2024
2 parents e0b4e10 + 5c40ded commit 6223f5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
9 changes: 3 additions & 6 deletions Fakemail.Core.Tests/EngineFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,14 @@ namespace Fakemail.Core.Tests
{
public class DummyPwnedPasswordApi : IPwnedPasswordApi
{
public async Task<string> RangeAsync(string prefix)
public Task<string> RangeAsync(string prefix)
{
// Prevent warning about async method lacking await operators
await Task.Yield();

// The hash for 'asdfasdfasdf' is 79437F5EDDA13F9C0669B978DD7A9066DD2059F1
// Return this one (and a couple of others), to make that password trigger the
// PwnedPassword check
return "F56E4F3B8721E983BA9C23C260EBF4AA526:1\r\n"
return Task.FromResult("F56E4F3B8721E983BA9C23C260EBF4AA526:1\r\n"
+ "F5EDDA13F9C0669B978DD7A9066DD2059F1:7322\r\n"
+ "F5FDC0B32D57F567BE7E6F5A932B995F642:2\r\n";
+ "F5FDC0B32D57F567BE7E6F5A932B995F642:2\r\n");
}
}

Expand Down
1 change: 0 additions & 1 deletion Fakemail.Web/Views/Home/_EmailSummaryRows.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@
{
@await Html.PartialAsync("_EmailSummaryRow", e)
}

0 comments on commit 6223f5f

Please sign in to comment.