mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-04-20 03:56:29 +02:00
Version 3.0.294
This commit is contained in:
parent
d92fb4a40f
commit
8f40f2c208
133 changed files with 17890 additions and 14246 deletions
|
@ -110,6 +110,22 @@ namespace TestShareeLib.Repository.Request
|
|||
new RequestBuilderLoggedIn("123", "456").DoBook("42", new Guid("0000f00d-1212-efde-1523-785fef13d123"), double.NaN));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestBookAndStartOpening()
|
||||
{
|
||||
Assert.That(
|
||||
new RequestBuilderLoggedIn("123", "456").BookAndStartOpening("42"),
|
||||
Is.EqualTo("request=booking_request&bike=42&authcookie=456123&state=occupied&lock_state=unlocking"));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestReturnAndStartClosing()
|
||||
{
|
||||
Assert.That(
|
||||
new RequestBuilderLoggedIn("123", "456").ReturnAndStartClosing("42", null),
|
||||
Is.EqualTo("request=booking_update&bike=42&authcookie=456123&state=available&lock_state=locking"));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestDoSubmitMiniSurvey()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue