Skip to content

Commit

Permalink
Merge pull request #284 from DEFRA/fix/grants-3950
Browse files Browse the repository at this point in the history
Fix/grants 3950
  • Loading branch information
OksKostenko authored May 16, 2024
2 parents 59ed90e + d489ac2 commit 598e554
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/config/question-bank.js
Original file line number Diff line number Diff line change
Expand Up @@ -2828,6 +2828,7 @@ const questionBank = {
content: [
{
para: `You cannot use public money (for example, grant funding from government or local authorities) towards the project costs.
For example, you can use:`,
items: ['loans', 'overdrafts', 'delinked payments.']
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ffc-grants-slurry-web",
"version": "3.3.0",
"version": "3.3.1",
"description": "Web frontend for FTF Slurry Infrastructure scheme",
"homepage": "https://github.com/DEFRA/ffc-grants-slurry-web",
"main": "app/index.js",
Expand Down
6 changes: 6 additions & 0 deletions test/integration/narrow/routes/remaining-costs.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ describe('Page: /remaining-costs', () => {

const postResponse = await global.__SERVER__.inject(postOptions)
expect(postResponse.payload).toContain('You cannot apply for a grant from this scheme')
expect(postResponse.payload).toContain('You cannot use public money (for example, grant funding from government or local authorities) towards the project costs.')
expect(postResponse.payload).toContain('For example, you can use:')
expect(postResponse.payload).toContain('loans')
expect(postResponse.payload).toContain('overdrafts')
expect(postResponse.payload).toContain('delinked payments.')
expect(postResponse.payload).toContain('See other grants you may be eligible for.')
})

it('user selects eligible option: \'Yes\' -> store user response and redirect to /planning-permission', async () => {
Expand Down

0 comments on commit 598e554

Please sign in to comment.