-
Notifications
You must be signed in to change notification settings - Fork 120
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
Fix responses and expected results files for regression tests #2524
Changes from all commits
648590a
2cbd51c
b4d551e
97e4c2a
6b94eb9
a3d2a69
11fe3b4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -630,7 +630,7 @@ | |
- kuwait | ||
- work | ||
- six_months_or_less | ||
:next_node: :outcome_work_m | ||
:next_node: :outcome_work_waiver | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
:outcome_node: true | ||
- :current_node: :staying_for_how_long? | ||
:responses: | ||
|
@@ -650,7 +650,7 @@ | |
- kuwait | ||
- study | ||
- six_months_or_less | ||
:next_node: :outcome_visit_waiver | ||
:next_node: :outcome_study_waiver | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
:outcome_node: true | ||
- :current_node: :staying_for_how_long? | ||
:responses: | ||
|
@@ -695,7 +695,7 @@ | |
:responses: | ||
- kuwait | ||
- school | ||
:next_node: :outcome_visit_waiver | ||
:next_node: :outcome_school_waiver | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
:outcome_node: true | ||
- :current_node: :purpose_of_visit? | ||
:responses: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
--- | ||
:property?: | ||
- B1 1PW | ||
- WC2B 6SE | ||
- PA3 2SW | ||
:main_home?: | ||
- 'yes' | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -752,7 +752,7 @@ | |
- :current_node: :which_country_are_you_in? | ||
:responses: | ||
- yemen | ||
:next_node: :cannot_apply | ||
:next_node: :apply_in_neighbouring_country | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
:outcome_node: true | ||
- :current_node: :which_country_are_you_in? | ||
:responses: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,47 +14,47 @@ | |
:responses: | ||
- uk-full-time | ||
- apply-loans-grants | ||
- year-1516 | ||
- year-1617 | ||
:next_node: :continuing_student? | ||
:outcome_node: false | ||
- :current_node: :continuing_student? | ||
:responses: | ||
- uk-full-time | ||
- apply-loans-grants | ||
- year-1516 | ||
- year-1617 | ||
- continuing-student | ||
:next_node: :outcome_uk_ft_1516_continuing | ||
:next_node: :outcome_uk_ft_1617_continuing | ||
:outcome_node: true | ||
- :current_node: :continuing_student? | ||
:responses: | ||
- uk-full-time | ||
- apply-loans-grants | ||
- year-1516 | ||
- year-1617 | ||
- new-student | ||
:next_node: :outcome_uk_ft_1516_new | ||
:next_node: :outcome_uk_ft_1617_new | ||
:outcome_node: true | ||
- :current_node: :what_year_full_time? | ||
:responses: | ||
- uk-full-time | ||
- apply-loans-grants | ||
- year-1617 | ||
- year-1516 | ||
:next_node: :continuing_student? | ||
:outcome_node: false | ||
- :current_node: :continuing_student? | ||
:responses: | ||
- uk-full-time | ||
- apply-loans-grants | ||
- year-1617 | ||
- year-1516 | ||
- continuing-student | ||
:next_node: :outcome_uk_ft_1617_continuing | ||
:next_node: :outcome_uk_ft_1516_continuing | ||
:outcome_node: true | ||
- :current_node: :continuing_student? | ||
:responses: | ||
- uk-full-time | ||
- apply-loans-grants | ||
- year-1617 | ||
- year-1516 | ||
- new-student | ||
:next_node: :outcome_uk_ft_1617_new | ||
:next_node: :outcome_uk_ft_1516_new | ||
:outcome_node: true | ||
- :current_node: :form_needed_for_1? | ||
:responses: | ||
|
@@ -66,15 +66,15 @@ | |
:responses: | ||
- uk-full-time | ||
- proof-identity | ||
- year-1516 | ||
:next_node: :outcome_proof_identity_1516 | ||
- year-1617 | ||
:next_node: :outcome_proof_identity_1617 | ||
:outcome_node: true | ||
- :current_node: :what_year_full_time? | ||
:responses: | ||
- uk-full-time | ||
- proof-identity | ||
- year-1617 | ||
:next_node: :outcome_proof_identity_1617 | ||
- year-1516 | ||
:next_node: :outcome_proof_identity_1516 | ||
:outcome_node: true | ||
- :current_node: :form_needed_for_1? | ||
:responses: | ||
|
@@ -86,15 +86,15 @@ | |
:responses: | ||
- uk-full-time | ||
- income-details | ||
- year-1516 | ||
:next_node: :outcome_parent_partner_1516 | ||
- year-1617 | ||
:next_node: :outcome_parent_partner_1617 | ||
:outcome_node: true | ||
- :current_node: :what_year_full_time? | ||
:responses: | ||
- uk-full-time | ||
- income-details | ||
- year-1617 | ||
:next_node: :outcome_parent_partner_1617 | ||
- year-1516 | ||
:next_node: :outcome_parent_partner_1516 | ||
:outcome_node: true | ||
- :current_node: :form_needed_for_1? | ||
:responses: | ||
|
@@ -106,15 +106,15 @@ | |
:responses: | ||
- uk-full-time | ||
- apply-dsa | ||
- year-1516 | ||
:next_node: :outcome_dsa_1516 | ||
- year-1617 | ||
:next_node: :outcome_dsa_1617 | ||
:outcome_node: true | ||
- :current_node: :what_year_full_time? | ||
:responses: | ||
- uk-full-time | ||
- apply-dsa | ||
- year-1617 | ||
:next_node: :outcome_dsa_1617 | ||
- year-1516 | ||
:next_node: :outcome_dsa_1516 | ||
:outcome_node: true | ||
- :current_node: :form_needed_for_1? | ||
:responses: | ||
|
@@ -132,15 +132,15 @@ | |
:responses: | ||
- uk-full-time | ||
- apply-ccg | ||
- year-1516 | ||
:next_node: :outcome_ccg_1516 | ||
- year-1617 | ||
:next_node: :outcome_ccg_1617 | ||
:outcome_node: true | ||
- :current_node: :what_year_full_time? | ||
:responses: | ||
- uk-full-time | ||
- apply-ccg | ||
- year-1617 | ||
:next_node: :outcome_ccg_1617 | ||
- year-1516 | ||
:next_node: :outcome_ccg_1516 | ||
:outcome_node: true | ||
- :current_node: :form_needed_for_1? | ||
:responses: | ||
|
@@ -337,42 +337,42 @@ | |
- :current_node: :what_year_full_time? | ||
:responses: | ||
- eu-full-time | ||
- year-1516 | ||
- year-1617 | ||
:next_node: :continuing_student? | ||
:outcome_node: false | ||
- :current_node: :continuing_student? | ||
:responses: | ||
- eu-full-time | ||
- year-1516 | ||
- year-1617 | ||
- continuing-student | ||
:next_node: :outcome_eu_ft_1516_continuing | ||
:next_node: :outcome_eu_ft_1617_continuing | ||
:outcome_node: true | ||
- :current_node: :continuing_student? | ||
:responses: | ||
- eu-full-time | ||
- year-1516 | ||
- year-1617 | ||
- new-student | ||
:next_node: :outcome_eu_ft_1516_new | ||
:next_node: :outcome_eu_ft_1617_new | ||
:outcome_node: true | ||
- :current_node: :what_year_full_time? | ||
:responses: | ||
- eu-full-time | ||
- year-1617 | ||
- year-1516 | ||
:next_node: :continuing_student? | ||
:outcome_node: false | ||
- :current_node: :continuing_student? | ||
:responses: | ||
- eu-full-time | ||
- year-1617 | ||
- year-1516 | ||
- continuing-student | ||
:next_node: :outcome_eu_ft_1617_continuing | ||
:next_node: :outcome_eu_ft_1516_continuing | ||
:outcome_node: true | ||
- :current_node: :continuing_student? | ||
:responses: | ||
- eu-full-time | ||
- year-1617 | ||
- year-1516 | ||
- new-student | ||
:next_node: :outcome_eu_ft_1617_new | ||
:next_node: :outcome_eu_ft_1516_new | ||
:outcome_node: true | ||
- :current_node: :type_of_student? | ||
:responses: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It looks as if all these changes to responses & expected results should have been included in this commit: abd3fe1 which was part of #2296. It's odd that both the questions & responses and responses & expected results files were updated in that commit, but the latter did not match the former. Anyway now that I understand a bit more about what happened, I'm happy to include these changes. |
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks as though this line should be added to generate-questions-and-responses-for-smart-answer.rb too. It's not clear to me whether that should happen in this PR or not though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. I think I might as well add it to this PR.