Skip to content

Commit

Permalink
fix: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekzyla committed Jul 19, 2023
1 parent b845059 commit 07d6357
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@ def test_delete_profile_record(m_update, m_delete, m_find, client):
m_find.assert_has_calls(calls)
assert m_delete.call_args == call({"_id": ObjectId(common_id)})
assert m_update.call_args == call({"_id": ObjectId(common_id)}, {"$set": backend_inventory_update})
assert response.json == {"message": f"Profile profile_1 was deleted. If profile_1 was used in some records in the inventory,"
f" those records were updated."}
assert response.json == {"message": f"Profile profile_1 was deleted. It was also deleted from some inventory records."}


# TEST UPDATING PROFILE
Expand Down

0 comments on commit 07d6357

Please sign in to comment.