Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2613 opt in text #2777

Merged
merged 2 commits into from
Feb 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Generated by Django 5.0.11 on 2025-02-03 16:22

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('registration', '0071_remove_historicaloperation_documents_document_and_more'),
]

operations = [
migrations.AlterField(
model_name='historicaloptedinoperationdetail',
name='meets_producing_gger_schedule_a1_regulated_product',
field=models.BooleanField(
blank=True,
db_comment='Does this operation produce a regulated product listed in Table 2 of Schedule A.1 of the GGERR?',
null=True,
),
),
migrations.AlterField(
model_name='optedinoperationdetail',
name='meets_producing_gger_schedule_a1_regulated_product',
field=models.BooleanField(
blank=True,
db_comment='Does this operation produce a regulated product listed in Table 2 of Schedule A.1 of the GGERR?',
null=True,
),
),
]
2 changes: 1 addition & 1 deletion bc_obps/registration/models/opted_in_operation_detail.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class OptedInOperationDetail(TimeStampedModel):
meets_producing_gger_schedule_a1_regulated_product = models.BooleanField(
blank=True,
null=True,
db_comment="Does this operation produce a regulated product listed in Table 1 of Schedule A.1 of the GGERR?",
db_comment="Does this operation produce a regulated product listed in Table 2 of Schedule A.1 of the GGERR?",
)
meets_reporting_and_regulated_obligations = models.BooleanField(
blank=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ describe("the OperationInformationForm component", () => {

// Questions - 6
const meetsProducingGgerScheduleA1RegulatedProductView = screen.getByText(
/does this operation produce a regulated product listed in table 1 of schedule a\.1 of \?/i,
/does this operation produce a regulated product listed in table 2 of schedule a\.1 of \?/i,
);
within(meetsProducingGgerScheduleA1RegulatedProductView).getByRole("link", {
name: /the ggerr/i,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const meetsNaicsCode1122562ClassificationRequirementsText = (

const meetsProducingGgerScheduleA1RegulatedProductText = (
<span>
Does this operation produce a regulated product listed in Table 1 of
Does this operation produce a regulated product listed in Table 2 of
Schedule A.1 of{" "}
<a href={ggerrLink} target="_blank">
the GGERR
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ describe("the OptedInOperationForm component", () => {

// Questions - 6
const meetsProducingGgerScheduleA1RegulatedProductView = screen.getByText(
/does this operation produce a regulated product listed in table 1 of schedule a\.1 of \?/i,
/does this operation produce a regulated product listed in table 2 of schedule a\.1 of \?/i,
);
within(meetsProducingGgerScheduleA1RegulatedProductView).getByRole("link", {
name: /the ggerr/i,
Expand Down