mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-10 17:26:05 +01:00
Fix test
This commit is contained in:
parent
7f75117bfa
commit
1cda0360e9
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ namespace BTCPayServer.Tests
|
||||||
Assert.Contains("CustomFormInputTest", s.Driver.PageSource);
|
Assert.Contains("CustomFormInputTest", s.Driver.PageSource);
|
||||||
s.Driver.FindElement(By.Name("buyerEmail")).SendKeys("aa@aa.com");
|
s.Driver.FindElement(By.Name("buyerEmail")).SendKeys("aa@aa.com");
|
||||||
s.Driver.FindElement(By.CssSelector("input[type='submit']")).Click();
|
s.Driver.FindElement(By.CssSelector("input[type='submit']")).Click();
|
||||||
s.PayInvoice(true);
|
s.PayInvoice(true, 0.001m);
|
||||||
var result = await s.Server.PayTester.HttpClient.GetAsync(formurl);
|
var result = await s.Server.PayTester.HttpClient.GetAsync(formurl);
|
||||||
Assert.Equal(HttpStatusCode.NotFound, result.StatusCode);
|
Assert.Equal(HttpStatusCode.NotFound, result.StatusCode);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue