diff --git a/backend/src/graphql/inputs/GdtInputs.ts b/backend/src/graphql/inputs/GdtInputs.ts index 7161acc87..0400c3278 100644 --- a/backend/src/graphql/inputs/GdtInputs.ts +++ b/backend/src/graphql/inputs/GdtInputs.ts @@ -1,14 +1,14 @@ -import { ArgsType, Field } from 'type-graphql' +import { ArgsType, Field, Int } from 'type-graphql' @ArgsType() export class GdtTransactionInput { @Field(() => String) email: string - @Field(() => Number, { nullable: true }) + @Field(() => Int, { nullable: true }) currentPage?: number - @Field(() => Number, { nullable: true }) + @Field(() => Int, { nullable: true }) pageSize?: number @Field(() => String, { nullable: true }) diff --git a/frontend/src/views/Pages/AccountOverview/GddTransactionList.vue b/frontend/src/views/Pages/AccountOverview/GddTransactionList.vue index ce2760ff8..a9c8a558f 100644 --- a/frontend/src/views/Pages/AccountOverview/GddTransactionList.vue +++ b/frontend/src/views/Pages/AccountOverview/GddTransactionList.vue @@ -1,9 +1,9 @@ diff --git a/frontend/src/views/Pages/UserProfile/UserCard_FormUserMail.spec.js b/frontend/src/views/Pages/UserProfile/UserCard_FormUserMail.spec.js index 67ec012a9..f8a5326be 100644 --- a/frontend/src/views/Pages/UserProfile/UserCard_FormUserMail.spec.js +++ b/frontend/src/views/Pages/UserProfile/UserCard_FormUserMail.spec.js @@ -63,10 +63,6 @@ describe('UserCard_FormUserMail', () => { await flushPromises() }) - it('enter email in input field', () => { - expect(wrapper.find('input').element.value).toBe('test@example.org') - }) - describe('error API send', () => { beforeEach(async () => { mockAPIcall.mockRejectedValue({ @@ -76,7 +72,7 @@ describe('UserCard_FormUserMail', () => { await flushPromises() }) - it('send request with filled variables to the API', async () => { + it('sends request with filled variables to the API', async () => { expect(mockAPIcall).toHaveBeenCalledWith( expect.objectContaining({ variables: { @@ -106,7 +102,7 @@ describe('UserCard_FormUserMail', () => { await flushPromises() }) - it('send request with filled variables to the API', async () => { + it('sends request with filled variables to the API', async () => { expect(mockAPIcall).toHaveBeenCalledWith( expect.objectContaining({ variables: { @@ -118,7 +114,7 @@ describe('UserCard_FormUserMail', () => { ) }) - it('successful message is send to the window.alert', async () => { + it('sends a success message', async () => { expect(window.alert).toBeCalledWith('changePassword success') }) })