Browse Source

Update some test forms

pull/2735/head
Kat 2 years ago
parent
commit
0c6df38e2b
  1. 4
      config/forms/2021_2022.json
  2. 4
      config/forms/2022_2023.json
  3. 4
      spec/fixtures/forms/2021_2022.json
  4. 2
      spec/helpers/interruption_screen_helper_spec.rb

4
config/forms/2021_2022.json

@ -7411,10 +7411,10 @@
} }
], ],
"title_text": { "title_text": {
"translation": "soft_validations.net_income.title_text" "translation": "forms.2024.lettings.soft_validations.net_income_value_check.title_text"
}, },
"informative_text": { "informative_text": {
"translation": "soft_validations.net_income.hint_text", "translation": "forms.2024.lettings.soft_validations.net_income_value_check.informative_text",
"arguments": [ "arguments": [
{ {
"key": "ecstat1", "key": "ecstat1",

4
config/forms/2022_2023.json

@ -7870,7 +7870,7 @@
} }
], ],
"title_text": { "title_text": {
"translation": "soft_validations.net_income.title_text", "translation": "forms.2024.lettings.soft_validations.net_income_value_check.title_text",
"arguments": [ "arguments": [
{ {
"key": "incfreq", "key": "incfreq",
@ -7885,7 +7885,7 @@
] ]
}, },
"informative_text": { "informative_text": {
"translation": "soft_validations.net_income.hint_text", "translation": "forms.2024.lettings.soft_validations.net_income_value_check.informative_text",
"arguments": [ "arguments": [
{ {
"key": "net_income_higher_or_lower_text", "key": "net_income_higher_or_lower_text",

4
spec/fixtures/forms/2021_2022.json vendored

@ -740,7 +740,7 @@
} }
], ],
"title_text": { "title_text": {
"translation": "soft_validations.net_income.title_text", "translation": "forms.2024.lettings.soft_validations.net_income_value_check.title_text",
"arguments": [ "arguments": [
{ {
"key": "incfreq", "key": "incfreq",
@ -755,7 +755,7 @@
] ]
}, },
"informative_text": { "informative_text": {
"translation": "soft_validations.net_income.hint_text", "translation": "forms.2024.lettings.soft_validations.net_income_value_check.informative_text",
"arguments": [ "arguments": [
{ {
"key": "net_income_higher_or_lower_text", "key": "net_income_higher_or_lower_text",

2
spec/helpers/interruption_screen_helper_spec.rb

@ -93,7 +93,7 @@ RSpec.describe InterruptionScreenHelper do
context "when 1 out of 2 arguments are given" do context "when 1 out of 2 arguments are given" do
it "returns an empty string" do it "returns an empty string" do
informative_text = { informative_text = {
"translation" => "soft_validations.net_income.hint_text", "translation" => "forms.2024.lettings.soft_validations.net_income_value_check.informative_text",
"arguments" => [ "arguments" => [
{ {
"key" => "ecstat1", "key" => "ecstat1",

Loading…
Cancel
Save