mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-06-22 05:47:28 +02:00
Version 3.0.360
This commit is contained in:
parent
5c0b2e70c9
commit
faf68061f4
160 changed files with 2114 additions and 1932 deletions
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using MonkeyCache.FileStore;
|
||||
using NUnit.Framework;
|
||||
using Serilog;
|
||||
|
@ -44,7 +44,7 @@ namespace TestTINKLib.Fixtures.Misc
|
|||
null /*UI language */,
|
||||
cookieAndMail.Split(';')[0],
|
||||
cookieAndMail.Split(';')[1],
|
||||
TimeSpan.FromSeconds(3)); // See task #97 for need of custom expiresAfter value.
|
||||
expiresAfter: TimeSpan.FromSeconds(3)); // See task #97 for need of custom expiresAfter value.
|
||||
|
||||
var start = DateTime.Now;
|
||||
|
||||
|
@ -96,7 +96,7 @@ namespace TestTINKLib.Fixtures.Misc
|
|||
null /*UI language */,
|
||||
cookieAndMail.Split(';')[0],
|
||||
cookieAndMail.Split(';')[1],
|
||||
TimeSpan.FromSeconds(3)); // See task #97 for need of custom expiresAfter value.
|
||||
expiresAfter: TimeSpan.FromSeconds(3)); // See task #97 for need of custom expiresAfter value.
|
||||
|
||||
var start = DateTime.Now;
|
||||
|
||||
|
@ -144,7 +144,7 @@ namespace TestTINKLib.Fixtures.Misc
|
|||
null /*UI language */,
|
||||
cookieAndMail.Split(';')[0],
|
||||
cookieAndMail.Split(';')[1],
|
||||
TimeSpan.FromSeconds(3)); // See task #97 for need of custom expiresAfter value.
|
||||
expiresAfter: TimeSpan.FromSeconds(3)); // See task #97 for need of custom expiresAfter value.
|
||||
|
||||
var start = DateTime.Now;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using MonkeyCache.FileStore;
|
||||
using Newtonsoft.Json;
|
||||
|
@ -120,7 +120,7 @@ namespace TestTINKLib.Fixtures.ObjectTests.Connector
|
|||
"123", // Merchant id
|
||||
new AppContextInfo("oiF2kahH", "sharee.bike.test", new Version(3, 0, 267)), // User agent
|
||||
null /*UI language */,
|
||||
"456", // cookie
|
||||
sessionCookie: "456",
|
||||
cacheServer: cache,
|
||||
httpsServer: https);
|
||||
|
||||
|
@ -219,7 +219,7 @@ namespace TestTINKLib.Fixtures.ObjectTests.Connector
|
|||
"12345678", // Merchant id
|
||||
new AppContextInfo("oiF2kahH", "sharee.bike.test", new Version(3, 0, 267)), // User agent
|
||||
null /*UI language */,
|
||||
"f782a208d9399291ba8d086b5dcc2509", // Auth cookie
|
||||
sessionCookie: "f782a208d9399291ba8d086b5dcc2509",
|
||||
cacheServer: cache,
|
||||
httpsServer: https);
|
||||
|
||||
|
@ -244,7 +244,7 @@ namespace TestTINKLib.Fixtures.ObjectTests.Connector
|
|||
"12345678", // Merchant id
|
||||
new AppContextInfo("oiF2kahH", "sharee.bike.test", new Version(3, 0, 267)), // User agent
|
||||
null /*UI language */,
|
||||
"f782a208d9399291ba8d086b5dcc2509", // Auth cookie
|
||||
sessionCookie: "f782a208d9399291ba8d086b5dcc2509",
|
||||
cacheServer: cache,
|
||||
httpsServer: https);
|
||||
|
||||
|
@ -269,7 +269,7 @@ namespace TestTINKLib.Fixtures.ObjectTests.Connector
|
|||
"12345678", // Merchant id
|
||||
new AppContextInfo("oiF2kahH", "sharee.bike.test", new Version(3, 0, 267)), // User agent
|
||||
null /*UI language */,
|
||||
"f782a208d9399291ba8d086b5dcc2509", // Auth cookie
|
||||
sessionCookie: "f782a208d9399291ba8d086b5dcc2509",
|
||||
cacheServer: cache,
|
||||
httpsServer: https);
|
||||
|
||||
|
@ -295,7 +295,7 @@ namespace TestTINKLib.Fixtures.ObjectTests.Connector
|
|||
"12345678", // Merchant id
|
||||
new AppContextInfo("oiF2kahH", "sharee.bike.test", new Version(3, 0, 267)), // User agent
|
||||
null /*UI language */,
|
||||
"f782a208d9399291ba8d086b5dcc2509", // Auth cookie
|
||||
sessionCookie: "f782a208d9399291ba8d086b5dcc2509",
|
||||
cacheServer: cache,
|
||||
httpsServer: https);
|
||||
|
||||
|
@ -320,7 +320,7 @@ namespace TestTINKLib.Fixtures.ObjectTests.Connector
|
|||
"123", // Merchant id
|
||||
new AppContextInfo("oiF2kahH", "sharee.bike.test", new Version(3, 0, 267)), // User agent
|
||||
null /*UI language */,
|
||||
"456", // cookie
|
||||
sessionCookie: "456", // cookie
|
||||
cacheServer: cache,
|
||||
httpsServer: https);
|
||||
|
||||
|
@ -498,7 +498,7 @@ namespace TestTINKLib.Fixtures.ObjectTests.Connector
|
|||
"123456789",
|
||||
new AppContextInfo("oiF2kahH", "sharee.bike.test", new Version(3, 0, 267)), // User agent
|
||||
null /* langugage */,
|
||||
"876");
|
||||
sessionCookie: "876");
|
||||
|
||||
var bikes = await provider.GetBikesOccupied(true);
|
||||
Assert.AreEqual(0, bikes.Response.bikes_occupied.Count);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue