mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-06 02:56:32 +01:00
30 lines
1,010 B
C#
30 lines
1,010 B
C#
using NUnit.Framework;
|
|
using TINK.ViewModel.CopriWebView;
|
|
|
|
namespace TestTINKLib.Fixtures.ObjectTests.ViewModel.CopriWebView
|
|
{
|
|
[TestFixture]
|
|
public class TestPasswordForgottonViewModel
|
|
{
|
|
[Test]
|
|
public void TestUrl()
|
|
{
|
|
var viewModel = new PasswordForgottonViewModel("Merchant", "Hosti");
|
|
Assert.AreEqual("https://Hosti/app/Account?sessionid=Merchant", viewModel.Uri);
|
|
}
|
|
|
|
[Test]
|
|
public void TestUrl_TINKLive()
|
|
{
|
|
var viewModel = new PasswordForgottonViewModel("Merchant", "app.tink-konstanz.de");
|
|
Assert.AreEqual("https://app.tink-konstanz.de/tinkapp/Account?sessionid=Merchant", viewModel.Uri);
|
|
}
|
|
|
|
[Test]
|
|
public void TestUrl_TINK()
|
|
{
|
|
var viewModel = new PasswordForgottonViewModel("Merchant", "tinkwwp.copri-bike.de");
|
|
Assert.AreEqual("https://tinkwwp.copri-bike.de/tinkapp/Account?sessionid=Merchant", viewModel.Uri);
|
|
}
|
|
}
|
|
}
|