Excerpts from #971 (manual PR) (part1 ) (#1006)

* Excerpts from #971

Relating to selenium tests + small renamings

* fix build
This commit is contained in:
Andrew Camilleri
2019-09-03 13:11:36 +02:00
committed by Nicolas Dorier
parent 8f464b0838
commit 7208e63155
9 changed files with 68 additions and 39 deletions

View File

@@ -506,7 +506,7 @@ namespace BTCPayServer.Controllers
}
var changellyEnabled = storeBlob.ChangellySettings != null && storeBlob.ChangellySettings.Enabled;
vm.ThirdPartyPaymentMethods.Add(new StoreViewModel.ThirdPartyPaymentMethod()
vm.ThirdPartyPaymentMethods.Add(new StoreViewModel.AdditionalPaymentMethod()
{
Enabled = changellyEnabled,
Action = nameof(UpdateChangellySettings),
@@ -514,7 +514,7 @@ namespace BTCPayServer.Controllers
});
var coinSwitchEnabled = storeBlob.CoinSwitchSettings != null && storeBlob.CoinSwitchSettings.Enabled;
vm.ThirdPartyPaymentMethods.Add(new StoreViewModel.ThirdPartyPaymentMethod()
vm.ThirdPartyPaymentMethods.Add(new StoreViewModel.AdditionalPaymentMethod()
{
Enabled = coinSwitchEnabled,
Action = nameof(UpdateCoinSwitchSettings),