Skip to content

Commit

Permalink
Discard auditee name from SAM.gov (#2292)
Browse files Browse the repository at this point in the history
* rm auditee_name from step-2 form

* rm auditee_name from pre-sac tests

* Modify gen-info to manually type auditee name

---------

Co-authored-by: Edward Zapata <[email protected]>
  • Loading branch information
timoballard and Edward Zapata authored Sep 29, 2023
1 parent 7c79e72 commit 1888a86
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions backend/cypress/support/general-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export function testValidGeneralInfo() {
cy.get('label[for=audit-period-annual]').click();

// Auditee information
cy.get('#auditee_name').type('Super Important name')
cy.get('#ein').type('546000173');
cy.get('label[for=ein_not_an_ssn_attestation]').click();
cy.get('label[for=multiple-eins-yes]').click();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ <h2>
<label for="auditee_name" hidden>Auditee name</label>
<input class="usa-input"
id="auditee_name"
name="auditee_name"
disabled="true"
hidden />
</div>
Expand Down
1 change: 0 additions & 1 deletion backend/report_submission/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ def test_end_to_end_submission_pass(self, mock_get_uei_info):
self.assertTemplateUsed(step2_get, "report_submission/step-2.html")

step2_data = {
"auditee_name": "Federal Bureau of Control",
"auditee_uei": "KZV2XNZZN3A8",
"auditee_fiscal_period_start": "01/01/2022",
"auditee_fiscal_period_end": "01/01/2023",
Expand Down
1 change: 0 additions & 1 deletion backend/report_submission/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ def post(self, request):
formatted_post = {
"csrfmiddlewaretoken": request.POST.get("csrfmiddlewaretoken"),
"auditee_uei": form.cleaned_data["auditee_uei"],
"auditee_name": request.POST.get("auditee_name"),
"auditee_address_line_1": request.POST.get("auditee_address_line_1"),
"auditee_city": request.POST.get("auditee_city"),
"auditee_state": request.POST.get("auditee_state"),
Expand Down

0 comments on commit 1888a86

Please sign in to comment.