Base:
3 references to ToString
Microsoft.AspNetCore.DataProtection.Tests (3)
KeyManagement\XmlKeyManagerTests.cs (2)
551
Assert.False(loggerFactory.
ToString
().Contains("1A2B3C4D"), "The secret '1A2B3C4D' should not have been logged.");
575
Assert.True(loggerFactory.
ToString
().Contains("1A2B3C4D"), "The secret '1A2B3C4D' should have been logged.");
Repositories\FileSystemXmlRepositoryTests.cs (1)
290
Assert.Contains(Resources.FormatFileSystem_EphemeralKeysLocationInContainer(dirInfo.FullName), loggerFactory.
ToString
());