sharee.bike-App/SharedBusinessLogic.Tests/ViewModel/CopriWebView/TestManageAccountViewModel.cs

16 lines
420 B
C#
Raw Permalink Normal View History

2021-07-12 21:31:46 +02:00
using NUnit.Framework;
2024-04-09 12:53:23 +02:00
using ShareeBike.ViewModel.Login;
2021-07-12 21:31:46 +02:00
2024-04-09 12:53:23 +02:00
namespace SharedBusinessLogic.Tests.Fixtures.ObjectTests.ViewModel.CopriWebView
2021-07-12 21:31:46 +02:00
{
2022-09-06 16:08:19 +02:00
[TestFixture]
public class TestManageAccountViewModel
{
[Test]
public void TestUrl()
{
var viewModel = new ManageAccountViewModel("Keks", "Merchant", "de", "Hosti");
2024-04-09 12:53:23 +02:00
Assert.That(viewModel.Uri, Is.EqualTo("https://Hosti?sessionid=KeksMerchant&lang=de"));
2022-09-06 16:08:19 +02:00
}
}
2021-07-12 21:31:46 +02:00
}