|
|
|
@ -119,6 +119,10 @@ namespace NzbDrone.Common.Test.InstrumentationTests
|
|
|
|
|
[TestCase(@"[Info] MigrationController: *** Migrating Database=prowlarr-main;Host=postgres14;Username=mySecret;Password=mySecret;Port=5432;Enlist=False ***")]
|
|
|
|
|
[TestCase("/readarr/signalr/messages/negotiate?access_token=1234530f422f4aacb6b301233210aaaa&negotiateVersion=1")]
|
|
|
|
|
[TestCase(@"[Info] MigrationController: *** Migrating Database=prowlarr-main;Host=postgres14;Username=mySecret;Password=mySecret;Port=5432;token=mySecret;Enlist=False&username=mySecret;mypassword=mySecret;mypass=shouldkeep1;test_token=mySecret;password=123%@%_@!#^#@;use_password=mySecret;get_token=shouldkeep2;usetoken=shouldkeep3;passwrd=mySecret;")]
|
|
|
|
|
|
|
|
|
|
// Discord
|
|
|
|
|
[TestCase(@"https://discord.com/api/webhooks/mySecret")]
|
|
|
|
|
[TestCase(@"https://discord.com/api/webhooks/mySecret/01233210")]
|
|
|
|
|
public void should_clean_message(string message)
|
|
|
|
|
{
|
|
|
|
|
var cleansedMessage = CleanseLogMessage.Cleanse(message);
|
|
|
|
|