Fix unit test for decrypted / encrypted parameters.
This commit is contained in:
parent
53fb11e9c2
commit
843caaf01f
1 changed files with 4 additions and 1 deletions
|
|
@ -113,7 +113,10 @@ describe('entry-page.vue', () => {
|
|||
parentAccountNumber: 'P',
|
||||
styleSheet: '',
|
||||
coverageEnabled: true,
|
||||
siteType: ''
|
||||
siteType: '',
|
||||
clientFlags: JSON.stringify({
|
||||
EncryptedParametersPattern: 'foo=(?<foo>[^&]+)&from=(?<from>[^&]+)'
|
||||
})
|
||||
};
|
||||
const decryptedData = 'foo=bar&from=yesterday';
|
||||
jest.spyOn(clientAuthHelper, 'validateISSClientTag').mockResolvedValueOnce(resp);
|
||||
|
|
|
|||
Loading…
Reference in a new issue