Fix test warning

This commit is contained in:
nicolas.dorier
2021-10-29 21:51:41 +09:00
parent 94865815c7
commit de93c5c9d6

View File

@@ -1292,7 +1292,7 @@ namespace BTCPayServer.Tests
var choice = webElement.GetAttribute("data-choice");
var lnurl = webElement.GetAttribute("href");
var parsed = LNURL.LNURL.Parse(lnurl, out _);
Assert.True(parsed.ToString().EndsWith(choice));
Assert.EndsWith(choice, parsed.ToString());
Assert.IsType<LNURLPayRequest>(await LNURL.LNURL.FetchInformation(parsed, new HttpClient()));
}