Fixed: Clean Spotify Refresh Token from Logs

This commit is contained in:
Qstick
2019-09-22 15:19:43 -04:00
parent 6338d6d2d0
commit 9d60b049fb
2 changed files with 3 additions and 1 deletions
@@ -44,6 +44,8 @@ namespace NzbDrone.Common.Test.InstrumentationTests
[TestCase(@"method: ""getTorrents"", ""params"": [ ""mySecret"",")]
[TestCase(@"getTorrents(""mySecret"", [asdfasdf], 100, 0)")]
[TestCase(@"""DownloadURL"":""https:\/\/broadcasthe.net\/torrents.php?action=download&id=123&authkey=mySecret&torrent_pass=mySecret""")]
// Spotify Refresh
[TestCase(@"https://spotify.lidarr.audio/renew?refresh_token=mySecret")]
public void should_clean_message(string message)
{
var cleansedMessage = CleanseLogMessage.Cleanse(message);