Removed legacy permission lib and updated code to use essentials lib.

This commit is contained in:
Tobias Reski 2021-11-15 09:51:06 +01:00
parent ba3f987d2a
commit 4993778c42
21 changed files with 6 additions and 826 deletions

View file

@ -46,7 +46,6 @@ namespace TestTINKLib.Fixtures.ObjectTests.Account
new DeviceMock(),
new SpecialFolderMock(),
null, // Cipher
new PermissionsMock(),
isConnectedFunc: () => true,
postAction: (d, obj) => d(obj),
currentVersion: new Version(3, 2, 0, 115), // Current app version
@ -85,7 +84,6 @@ namespace TestTINKLib.Fixtures.ObjectTests.Account
new DeviceMock(),
new SpecialFolderMock(),
null, // Cipher
new PermissionsMock(),
isConnectedFunc: () => true,
postAction: (d, obj) => d(obj),
currentVersion: new Version(3, 2, 0, 115), // Current app version
@ -125,7 +123,6 @@ namespace TestTINKLib.Fixtures.ObjectTests.Account
new DeviceMock(),
new SpecialFolderMock(),
null, // Cipher
new PermissionsMock(),
isConnectedFunc: () => true,
postAction: (d, obj) => d(obj),
currentVersion: new Version(3, 2, 0, 115), // Current app version
@ -164,7 +161,6 @@ namespace TestTINKLib.Fixtures.ObjectTests.Account
new DeviceMock(),
new SpecialFolderMock(),
null, // Cipher
new PermissionsMock(),
isConnectedFunc: () => false, // Offline
postAction: (d, obj) => d(obj),
currentVersion: new Version(3, 2, 0, 115), // Current app version
@ -214,7 +210,6 @@ namespace TestTINKLib.Fixtures.ObjectTests.Account
new DeviceMock(),
new SpecialFolderMock(),
null, // Cipher
new PermissionsMock(),
isConnectedFunc: () => false, // Offline
postAction: (d, obj) => d(obj),
currentVersion: new Version(3, 2, 0, 115), // Current app version