Skip to content

Commit

Permalink
chore: fixed the suggested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ayeshmcg committed Jan 15, 2025
1 parent abad528 commit da22a12
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def test_create_user_profile_idir(self):
# Additional Assertions (If BYPASS_ROLE_ASSIGNMENT is True, app_role should be cas_admin, otherwise cas_pending)

assert (
'app_role' in content and content["app_role"]["role_name"] == 'cas_analyst'
'app_role' in content and content["app_role"]["role_name"] == 'cas_admin'
if settings.BYPASS_ROLE_ASSIGNMENT
else 'cas_pending'
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def test_create_user_profile_idir(self):
# Additional Assertions (If BYPASS_ROLE_ASSIGNMENT is True, app_role should be cas_admin, otherwise cas_pending)

assert (
'app_role' in content and content["app_role"]["role_name"] == 'cas_analyst'
'app_role' in content and content["app_role"]["role_name"] == 'cas_admin'
if settings.BYPASS_ROLE_ASSIGNMENT
else 'cas_pending'
)
Expand Down
1 change: 0 additions & 1 deletion bc_obps/reporting/api/reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ def save_report(
request: HttpRequest, version_id: int, payload: ReportOperationIn
) -> Tuple[Literal[201], ReportOperationOut]:
report_operation = ReportService.save_report_operation(version_id, payload)
print('report_operation', report_operation)
return 201, report_operation # type: ignore


Expand Down
5 changes: 5 additions & 0 deletions bciers/apps/reporting/src/data/jsonSchema/operations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ export const operationReviewSchema: RJSFSchema = {
default: "Annual report",
},

operation_representative_name: {
type: "array",
title: "Operation representative",
},

date_info: {
type: "object",
readOnly: true,
Expand Down

0 comments on commit da22a12

Please sign in to comment.