Test LNUrl Pay payment method information, add doc

This commit is contained in:
nicolas.dorier
2022-02-21 13:21:33 +09:00
parent 48393c3765
commit 557594e34d
9 changed files with 51 additions and 20 deletions

View File

@@ -145,8 +145,15 @@ namespace BTCPayServer.Tests
Driver.FindElement(By.Id("IsAdmin")).Click();
Driver.FindElement(By.Id("RegisterButton")).Click();
Driver.AssertNoError();
CreatedUser = usr;
return usr;
}
string CreatedUser;
public TestAccount AsTestAccount()
{
return new TestAccount(Server) { RegisterDetails = new Models.AccountViewModels.RegisterViewModel() { Password = "123456", Email = CreatedUser } };
}
public (string storeName, string storeId) CreateNewStore(bool keepId = true)
{