Skip to content

Commit ec7c36c

Browse files
author
rduteil
committed
Fix tests
1 parent 946dad3 commit ec7c36c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Bones.UI.Tests/services/testUserService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ const AccountLoginFactory = new ServiceFactory<TestUserDetailsDTO, TestUserDetai
1616
ServiceFactory.addCustom("login", (axios, d: CreateTestUserDTO) => axios.post(TEST_USERS_URL, d), (dto: TestUserDetailsDTO) => new Array(5).map(a => new TestUserDetails(dto))),
1717
ServiceFactory.addCustom("logout", axios => axios.get(TEST_USERS_URL), (dto: TestUserDetailsDTO) => new TestUserDetails(dto)),
1818
ServiceFactory.addCustom("current", axios => axios.get(TEST_USERS_URL), (dto: TestUserDetailsDTO) => new TestUserDetails(dto)),
19-
ServiceFactory.addCustom("complexCurrent", (axios, p1: string, p2: number) => axios.get(TEST_USERS_URL), (dto: TestUserDetailsDTO) => new TestUserDetails(dto)),
20-
ServiceFactory.addCustom("complexGetMany", (axios, p1: string, p2: number) => axios.get(TEST_USERS_URL), (dto: TestUserDetailsDTO) => new Array(5).map(a => new TestUserDetails(dto))),
19+
ServiceFactory.addCustom("complexCurrent", (axios, p1: string, p2: number, _?: AbortController) => axios.get(TEST_USERS_URL), (dto: TestUserDetailsDTO) => new TestUserDetails(dto)),
20+
ServiceFactory.addCustom("complexGetMany", (axios, p1: string, p2: number, _?: AbortController) => axios.get(TEST_USERS_URL), (dto: TestUserDetailsDTO) => new Array(5).map(a => new TestUserDetails(dto))),
2121
));
2222

2323
export const useTestUsersSync = ComposableFactory.sync<TestUserDetails, TestUserInfos>(testUserServiceFactory);

0 commit comments

Comments
 (0)