Skip to content

Commit 9ca828a

Browse files
committed
Modify unit tests
1 parent 7722dee commit 9ca828a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

specifyweb/specify/api_tests.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,8 @@ def test_replace_agents(self):
584584
agent=agent_1,
585585
collectingevent=collecting_event
586586
)
587-
587+
self.collectionobjects[0].cataloger = agent_1
588+
self.collectionobjects[0].save()
588589
# Assert that the api request ran successfully
589590
response = c.post(
590591
f'/api/specify/agent/replace/{agent_2.id}/',

0 commit comments

Comments
 (0)