mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-04-19 03:27:29 +02:00
Manually merged.
This commit is contained in:
parent
c7c9f252af
commit
e5c09b9b8d
33 changed files with 39827 additions and 529 deletions
|
@ -26,6 +26,7 @@ namespace TestTINKLib.Fixtures.UseCases.Logout
|
|||
var locksService = Substitute.For<ILocksService>();
|
||||
var device = Substitute.For<ISmartDevice>();
|
||||
var specialFolder = Substitute.For<ISpecialFolder>();
|
||||
var permissions = Substitute.For<IPermissions>();
|
||||
var account = Substitute.For<IAccount>();
|
||||
|
||||
accountStore.Load().Returns(account);
|
||||
|
@ -48,6 +49,7 @@ namespace TestTINKLib.Fixtures.UseCases.Logout
|
|||
device,
|
||||
specialFolder,
|
||||
null, // Cipher
|
||||
permissions,
|
||||
isConnectedFunc: () => true,
|
||||
currentVersion: new Version(3, 2, 0, 115),
|
||||
lastVersion: new Version(3, 0, 173)); // Current app version. Must be larger or equal 3.0.173 to
|
||||
|
|
|
@ -9,6 +9,7 @@ using TINK.Model.Services.Geolocation;
|
|||
using TINK.Services.BluetoothLock;
|
||||
using TINK.Model.Device;
|
||||
using TINK.Model.User.Account;
|
||||
using Plugin.Permissions.Abstractions;
|
||||
using System.Threading.Tasks;
|
||||
using TestFramework.Repository;
|
||||
|
||||
|
@ -24,6 +25,7 @@ namespace TestShareeLib.UseCases.Login
|
|||
var locksService = Substitute.For<ILocksService>();
|
||||
var device = Substitute.For<ISmartDevice>();
|
||||
var specialFolder = Substitute.For<ISpecialFolder>();
|
||||
var permissions = Substitute.For<IPermissions>();
|
||||
|
||||
// No user logged in is initial state to verify.
|
||||
var l_oTinkApp = new TinkApp(
|
||||
|
@ -40,6 +42,7 @@ namespace TestShareeLib.UseCases.Login
|
|||
device,
|
||||
specialFolder,
|
||||
null, // Cipher
|
||||
permissions,
|
||||
isConnectedFunc: () => true,
|
||||
currentVersion: new Version(3, 2, 0, 115),
|
||||
lastVersion: new Version(3, 0, 173) /* Current app version. Must be larger or equal 3.0.173 to lastVersion*/);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue