Skip to content

Commit

Permalink
Merge pull request #832 from uktrade/LTD-1298-Implement-sub-report
Browse files Browse the repository at this point in the history
LTD-1298: Add status field to Case status endpoint
  • Loading branch information
saruniitr authored Oct 5, 2021
2 parents 3453787 + cfee701 commit 73bc443
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion api/data_workspace/tests/test_staticdata_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def test_countries(self):

def test_case_statuses(self):
url = reverse("data_workspace:dw-case-statuses-list")
expected_fields = ("id", "key", "value", "priority")
expected_fields = ("id", "key", "value", "status", "priority")

response = self.client.get(url)
self.assertEqual(response.status_code, status.HTTP_200_OK)
Expand Down
1 change: 1 addition & 0 deletions api/staticdata/statuses/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ class Meta:
"id",
"key",
"value",
"status",
"priority",
)

0 comments on commit 73bc443

Please sign in to comment.