test: Delete formattedData from connection factory before persisting
This commit is contained in:
@@ -10,6 +10,8 @@ export const createConnection = async (params: Partial<Connection> = {}) => {
|
|||||||
authenticationKey: 'test key',
|
authenticationKey: 'test key',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
delete params.formattedData;
|
||||||
|
|
||||||
params.data = AES.encrypt(
|
params.data = AES.encrypt(
|
||||||
JSON.stringify(formattedData),
|
JSON.stringify(formattedData),
|
||||||
appConfig.encryptionKey
|
appConfig.encryptionKey
|
||||||
|
Reference in New Issue
Block a user