mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 09:54:30 +01:00
Fix CanCreateAppPos
This commit is contained in:
parent
54e106ec74
commit
5a7b275ee3
@ -673,11 +673,12 @@ namespace BTCPayServer.Tests
|
||||
s.LogIn(userId);
|
||||
// Make sure after login, we are not redirected to the PoS
|
||||
Assert.DoesNotContain("Tea shop", s.Driver.PageSource);
|
||||
var prevUrl = s.Driver.Url;
|
||||
|
||||
// We are only if explicitly going to /
|
||||
s.GoToUrl("/");
|
||||
Assert.Contains("Tea shop", s.Driver.PageSource);
|
||||
s.Driver.Navigate().Back();
|
||||
s.Driver.Navigate().GoToUrl(new Uri(prevUrl, UriKind.Absolute));
|
||||
|
||||
// Let's check with domain mapping as well.
|
||||
s.GoToServer(ServerNavPages.Policies);
|
||||
|
Loading…
Reference in New Issue
Block a user