From d284053721f77053c899c767149e703da432f5f6 Mon Sep 17 00:00:00 2001 From: qschroter Date: Tue, 2 Apr 2024 23:09:10 +0200 Subject: [PATCH] fix tests --- tests/Bones.UI.Tests/services/testUserService.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Bones.UI.Tests/services/testUserService.ts b/tests/Bones.UI.Tests/services/testUserService.ts index 9df38a6..907849d 100644 --- a/tests/Bones.UI.Tests/services/testUserService.ts +++ b/tests/Bones.UI.Tests/services/testUserService.ts @@ -16,7 +16,7 @@ const AccountLoginFactory = new ServiceFactory("account-login" )); export const useTestUsersSync = ComposableFactory.sync(testUserServiceFactory); -export const useTestUserTrack = ComposableFactory.track(testUserServiceFactory); +export const useTestUserTrack = ComposableFactory.trackRef(testUserServiceFactory); export const useLogin = ComposableFactory.custom(AccountLoginFactory.login, () => { @@ -34,7 +34,7 @@ export const useLogout = ComposableFactory.custom(AccountLoginFactory.logout, () }); export const useTestUser = ComposableFactory.get(testUserServiceFactory, () => { - const { synceds, sync } = useTestUsersSync(); + const { sync } = useTestUsersSync(); return (entity) => { // sync(entity.childs); } @@ -57,4 +57,4 @@ const { entities, fetching, getMany } = useTestUsers(); const { created, create, creating } = useCreateTestUser(); const { updated, update, updating } = useUpdateTestUser(); const { remove, removing } = useRemoveTestUser(); -const { synceds, sync } = useTestUsersSync(); +const { sync } = useTestUsersSync();