diff --git a/BTCPayServer.Tests/SeleniumTests.cs b/BTCPayServer.Tests/SeleniumTests.cs index 6f91d2e24..74b1e7b72 100644 --- a/BTCPayServer.Tests/SeleniumTests.cs +++ b/BTCPayServer.Tests/SeleniumTests.cs @@ -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(await LNURL.LNURL.FetchInformation(parsed, new HttpClient())); }