Skip to content

Commit a1fe444

Browse files
Fix org connected tests
1 parent 49d9c43 commit a1fe444

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

cumulusci/tasks/bulkdata/mapping_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ def check_required(
545545
if fields_describe[field]["createable"] and not defaulted:
546546
required_fields.add(field)
547547
missing_fields = required_fields.difference(
548-
set(self.fields.keys()) | set(self.lookups)
548+
set(self.fields.keys()) | set(self.lookups) | set(self.static.keys())
549549
)
550550
if len(missing_fields) > 0:
551551
message = f"One or more required fields are missing for loading on {self.sf_object} :{missing_fields}"

cumulusci/tasks/bulkdata/tests/test_load.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3066,6 +3066,7 @@ def test_error_result_counting__multi_batches(
30663066
{
30673067
"sql_path": cumulusci_test_repo_root / "datasets/bad_sample.sql",
30683068
"mapping": cumulusci_test_repo_root / "datasets/mapping.yml",
3069+
"ignore_row_errors": True,
30693070
},
30703071
)
30713072
with mock.patch("cumulusci.tasks.bulkdata.step.DEFAULT_BULK_BATCH_SIZE", 3):

0 commit comments

Comments
 (0)