Skip to content

Commit

Permalink
Fix test error for existing orgs with validation rules on Account
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchspano committed Dec 20, 2023
1 parent 3e03848 commit db4bf3e
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 36 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<img src="https://raw.githubusercontent.com/afawcett/githubsfdeploy/master/src/main/webapp/resources/img/deploy.png" alt="Deploy to Salesforce" />
</a>

#### [Unlocked Package Installation (Production)](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t3h000004OYUDAA4)
#### [Unlocked Package Installation (Production)](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t3h000004juLaAAI)

#### [Unlocked Package Installation (Sandbox)](https://test.salesforce.com/packaging/installPackage.apexp?p0=04t3h000004OYUDAA4)
#### [Unlocked Package Installation (Sandbox)](https://test.salesforce.com/packaging/installPackage.apexp?p0=04t3h000004juLaAAI)

---

Expand Down
63 changes: 32 additions & 31 deletions sfdx-project.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,33 @@
{
"packageDirectories": [
{
"path": "trigger-actions-framework",
"default": true,
"package": "Trigger Actions Framework",
"versionName": "Version 0.2",
"versionNumber": "0.2.1.NEXT"
}
],
"namespace": "",
"sfdcLoginUrl": "https://login.salesforce.com",
"sourceApiVersion": "56.0",
"packageAliases": {
"Trigger Actions Framework": "0Ho3h0000008Om4CAE",
"Trigger Actions Framework@0.1.0-1": "04t3h000004VaHaAAK",
"Trigger Actions Framework@0.1.2": "04t3h000004VaIdAAK",
"Trigger Actions Framework@0.1.3": "04t3h000004VaInAAK",
"Trigger Actions Framework@0.1.4-0": "04t3h000004VaJWAA0",
"Trigger Actions Framework@0.1.4-1": "04t3h000004VaJbAAK",
"Trigger Actions Framework@0.1.5-0": "04t3h000004VaJqAAK",
"Trigger Actions Framework@0.1.6": "04t3h000004VaLDAA0",
"Trigger Actions Framework@0.1.7": "04t3h000004VaLIAA0",
"Trigger Actions Framework@0.1.8": "04t3h000004VaLNAA0",
"Trigger Actions Framework@0.1.9": "04t3h000004VaLSAA0",
"Trigger Actions Framework@0.2.0": "04t3h000004VaLmAAK",
"Trigger Actions Framework@0.2.1": "04t3h000004VaVFAA0",
"Trigger Actions Framework@0.2.2-1": "04t3h000004OYREAA4",
"Trigger Actions Framework@0.2.3-1": "04t3h000004OYTKAA4",
"Trigger Actions Framework@0.2.5-1": "04t3h000004OYUDAA4"
}
}
"packageDirectories": [
{
"path": "trigger-actions-framework",
"default": true,
"package": "Trigger Actions Framework",
"versionName": "Version 0.2",
"versionNumber": "0.2.1.NEXT"
}
],
"namespace": "",
"sfdcLoginUrl": "https://login.salesforce.com",
"sourceApiVersion": "56.0",
"packageAliases": {
"Trigger Actions Framework": "0Ho3h0000008Om4CAE",
"Trigger Actions Framework@0.1.0-1": "04t3h000004VaHaAAK",
"Trigger Actions Framework@0.1.2": "04t3h000004VaIdAAK",
"Trigger Actions Framework@0.1.3": "04t3h000004VaInAAK",
"Trigger Actions Framework@0.1.4-0": "04t3h000004VaJWAA0",
"Trigger Actions Framework@0.1.4-1": "04t3h000004VaJbAAK",
"Trigger Actions Framework@0.1.5-0": "04t3h000004VaJqAAK",
"Trigger Actions Framework@0.1.6": "04t3h000004VaLDAA0",
"Trigger Actions Framework@0.1.7": "04t3h000004VaLIAA0",
"Trigger Actions Framework@0.1.8": "04t3h000004VaLNAA0",
"Trigger Actions Framework@0.1.9": "04t3h000004VaLSAA0",
"Trigger Actions Framework@0.2.0": "04t3h000004VaLmAAK",
"Trigger Actions Framework@0.2.1": "04t3h000004VaVFAA0",
"Trigger Actions Framework@0.2.2-1": "04t3h000004OYREAA4",
"Trigger Actions Framework@0.2.3-1": "04t3h000004OYTKAA4",
"Trigger Actions Framework@0.2.5-1": "04t3h000004OYUDAA4",
"Trigger Actions Framework@0.2.6-1": "04t3h000004juLaAAI"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -304,9 +304,7 @@ private with sharing class FinalizerHandlerTest {

public class FinalizerWithDml implements TriggerAction.DmlFinalizer {
public void execute(FinalizerHandler.Context context) {
TriggerBase.bypass(Account.class.getName());
insert new Account(Name = 'Acme');
TriggerBase.clearBypass(Account.class.getName());
Database.setSavepoint();
}
}
}

0 comments on commit db4bf3e

Please sign in to comment.