Skip to content

Commit

Permalink
[DEV-3507] fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannick1712 committed Jan 1, 2025
1 parent add420a commit dfcc03c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { createDefaultUserData } from 'src/subdomains/generic/user/models/user-data/__mocks__/user-data.entity.mock';
import { createDefaultUser } from 'src/subdomains/generic/user/models/user/__mocks__/user.entity.mock';
import { Transaction, TransactionSourceType, TransactionTypeInternal } from '../entities/transaction.entity';

Expand All @@ -7,6 +8,7 @@ const defaultTransaction: Partial<Transaction> = {
type: TransactionTypeInternal.BUY_CRYPTO,
uid: 'T186C06388387A6FD',
user: createDefaultUser(),
userData: createDefaultUserData(),
};

export function createDefaultTransaction(): Transaction {
Expand Down

0 comments on commit dfcc03c

Please sign in to comment.