Skip to content

Commit a5b5459

Browse files
committed
fix tests
1 parent 62f2d73 commit a5b5459

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/webviews/src/modules/keys-tree/components/database-wrapper/DatabaseWrapper.spec.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ describe('DatabaseWrapper', () => {
6363
const spySelectedKey = vi.spyOn(useSelectedKeyStore, 'useSelectedKeyStore') as Mock
6464

6565
const selectedKeyAction = {
66-
databaseId: constants.DATABASE_ID,
66+
database: {
67+
id: constants.DATABASE_ID,
68+
},
6769
key: constants.KEY_NAME_1,
6870
keyType: KeyTypes.Hash,
6971
type: SelectedKeyActionType.Removed,

0 commit comments

Comments
 (0)