Skip to content

Commit

Permalink
nit #11570
Browse files Browse the repository at this point in the history
  • Loading branch information
chrabyrd committed Nov 14, 2024
1 parent 92a69de commit 6f54153
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/models/graph_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -2193,14 +2193,14 @@ def test_placing_node_in_separate_card_does_not_pollute_database(self):
original_nodegroup_id = node.nodegroup_id
updated_nodegroup_id = node.pk

models.NodeGroup.objects.create(
models.NodeGroup.objects.update_or_create(
**{
"cardinality": "n",
"legacygroupid": "",
"nodegroupid": str(updated_nodegroup_id),
"parentnodegroup_id": None,
}
).save()
)

node.nodegroup_id = updated_nodegroup_id
node.save()
Expand Down

0 comments on commit 6f54153

Please sign in to comment.