diff options
| -rw-r--r-- | gn3/db/case_attributes.py | 2 | ||||
| -rw-r--r-- | tests/unit/db/test_case_attributes.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gn3/db/case_attributes.py b/gn3/db/case_attributes.py index e49fe5d..df09e75 100644 --- a/gn3/db/case_attributes.py +++ b/gn3/db/case_attributes.py @@ -220,7 +220,7 @@ def get_changes(cursor, change_type: EditStatus, directory: Path) -> dict: "change-type": str(change_type), "count": { "reviews": len(review_ids), - "approval": len(approved_ids), + "approvals": len(approved_ids), "rejections": len(rejected_ids) }, "data": changes diff --git a/tests/unit/db/test_case_attributes.py b/tests/unit/db/test_case_attributes.py index 7258cee..87f142f 100644 --- a/tests/unit/db/test_case_attributes.py +++ b/tests/unit/db/test_case_attributes.py @@ -279,7 +279,7 @@ def test_get_changes(mocker: MockFixture) -> None: "change-type": "review", "count": { "reviews": 2, - "approval": 2, + "approvals": 2, "rejections": 4 }, "data": { |
