save
This commit is contained in:
@@ -14,9 +14,11 @@ describe('DeckMapper', () => {
|
||||
],
|
||||
playedNumber: 5,
|
||||
ctype: CType.PUBLIC,
|
||||
updatedate: new Date('2024-01-02'),
|
||||
updateDate: new Date('2024-01-02'),
|
||||
state: State.ACTIVE,
|
||||
organization: null,
|
||||
user: { username: 'testuser', id: 'user-123', isAdmin: false },
|
||||
isEditable: jest.fn().mockReturnValue(true),
|
||||
...overrides
|
||||
});
|
||||
|
||||
|
||||
@@ -11,9 +11,10 @@ describe('OrganizationMapper', () => {
|
||||
contactemail: 'john@test.org',
|
||||
state: OrganizationState.ACTIVE as OrganizationStateType,
|
||||
regdate: new Date('2024-01-01'),
|
||||
updatedate: new Date('2024-01-02'),
|
||||
updateDate: new Date('2024-01-02'),
|
||||
url: 'https://test.org',
|
||||
userinorg: 5,
|
||||
maxOrganizationalDecks: 10,
|
||||
users: [
|
||||
{ id: 'user-1', name: 'User One' },
|
||||
{ id: 'user-2', name: 'User Two' }
|
||||
@@ -85,9 +86,10 @@ describe('OrganizationMapper', () => {
|
||||
contactemail: 'john@test.org',
|
||||
state: OrganizationState.ACTIVE,
|
||||
regdate: new Date('2024-01-01'),
|
||||
updatedate: new Date('2024-01-02'),
|
||||
updateDate: new Date('2024-01-02'),
|
||||
url: 'https://test.org',
|
||||
userinorg: 5,
|
||||
maxOrganizationalDecks: 10,
|
||||
users: ['user-1', 'user-2']
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user