Skip to content

Commit

Permalink
Fixed tests as part of WIP on #337.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjordan committed Jul 2, 2024
1 parent 7d3fa9f commit 2c21a4f
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions tests/field_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -3189,7 +3189,12 @@ class TestEntityRefererenceField(unittest.TestCase):

def setUp(self):
self.maxDiff = None
self.config = {"task": "create", "subdelimiter": "|", "id_field": "id"}
self.config = {
"task": "create",
"subdelimiter": "|",
"id_field": "id",
"columns_with_term_names": [],
}

def test_create_with_entity_reference_field(self):
existing_node = {
Expand Down Expand Up @@ -4392,7 +4397,12 @@ class TestTypedRelationField(unittest.TestCase):

def setUp(self):
self.maxDiff = None
self.config = {"task": "create", "subdelimiter": "|", "id_field": "id"}
self.config = {
"task": "create",
"subdelimiter": "|",
"id_field": "id",
"columns_with_term_names": [],
}

self.existing_node = {
"type": [{"target_id": "islandora_object", "target_type": "node_type"}],
Expand Down

0 comments on commit 2c21a4f

Please sign in to comment.