Skip to content

Commit

Permalink
chore: fix bp
Browse files Browse the repository at this point in the history
  • Loading branch information
maggiben committed Jul 6, 2022
1 parent 259a607 commit 4a5b71a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
10 changes: 5 additions & 5 deletions src/org/scratchOrgSettingsGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,11 @@ export const createRecordTypeAndBusinessProcessFileContent = (
recordTypes: {
...recordTypes,
businessProcess: businessProcessName,
businessProcesses: {
fullName: businessProcessName,
isActive: true,
values,
},
},
businessProcesses: {
fullName: businessProcessName,
isActive: true,
values,
},
};
}
Expand Down
28 changes: 14 additions & 14 deletions test/unit/org/scratchOrgSettingsGeneratorTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ describe('scratchOrgSettingsGenerator', () => {
});
});

describe('createRecordTypeAndBusinessProcessFileContent', () => {
describe.only('createRecordTypeAndBusinessProcessFileContent', () => {
const objectSettingsData = {
account: {
defaultRecordType: 'PersonAccount',
Expand Down Expand Up @@ -651,12 +651,12 @@ describe('scratchOrgSettingsGenerator', () => {
label: 'Default',
active: true,
businessProcess: 'DefaultProcess',
businessProcesses: {
fullName: 'DefaultProcess',
isActive: true,
values: {
fullName: 'Prospecting',
},
},
businessProcesses: {
fullName: 'DefaultProcess',
isActive: true,
values: {
fullName: 'Prospecting',
},
},
});
Expand All @@ -681,13 +681,13 @@ describe('scratchOrgSettingsGenerator', () => {
label: 'Default',
active: true,
businessProcess: 'DefaultProcess',
businessProcesses: {
fullName: 'DefaultProcess',
isActive: true,
values: {
fullName: 'New',
default: true,
},
},
businessProcesses: {
fullName: 'DefaultProcess',
isActive: true,
values: {
fullName: 'New',
default: true,
},
},
});
Expand Down

0 comments on commit 4a5b71a

Please sign in to comment.