fix(sentry_webhook): rollback Salesforce value changes (#1461)

* Revert "chore(sentry_webhook): update Salesforce values (#1419)"

This reverts commit 836778324e.

* Keep the dev changes as they don't have a production impact.

* Update tests.
This commit is contained in:
Sander Bruens 2023-12-11 17:45:56 -05:00 committed by GitHub
parent b87890446e
commit 2a304868f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View file

@ -108,9 +108,9 @@ describe('postSentryEventToSalesforce', () => {
'&00N0b00000BqOA4=' +
'&description=my%20message' +
'&type=Outline%20client' +
'&00N5a00000DXy19=test%20category' +
'&00N5a00000DXxmo=test%20os' +
'&00N5a00000DXxmq=test%20version'
'&00N0b00000BqOA2=test%20category' +
'&00N0b00000BqOfW=test%20os' +
'&00N0b00000BqOfR=test%20version'
);
expect(mockRequest.end).toHaveBeenCalled();
});

View file

@ -55,11 +55,11 @@ const SALESFORCE_FORM_FIELDS_PROD: SalesforceFormFields = {
recordType: 'recordType',
email: 'email',
description: 'description',
category: '00N5a00000DXy19',
cloudProvider: '00N5a00000DXxmn',
category: '00N0b00000BqOA2',
cloudProvider: '00N0b00000BqOA7',
sentryEventUrl: '00N0b00000BqOA4',
os: '00N5a00000DXxmo',
version: '00N5a00000DXxmq',
os: '00N0b00000BqOfW',
version: '00N0b00000BqOfR',
type: 'type',
};
const SALESFORCE_FORM_VALUES_DEV: SalesforceFormValues = {