-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
991f3ef
commit b2f5d49
Showing
3 changed files
with
13 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,15 +28,15 @@ describe('Notifications Setup - Download recipients presenter', () => { | |
|
||
expect(result).to.equal( | ||
// Headers | ||
'"Licences","Return references","Returns period start date","Returns period end date","Returns due date","Message type","Message reference","Licence holder","Recipient name","Email","Address line 1","Address line 2","Address line 3","Address line 4","Address line 5","Address line 6","Postcode"\n' + | ||
'"Licences","Return references","Returns period start date","Returns period end date","Returns due date","Message type","Message reference","Email","Recipient name","Address line 1","Address line 2","Address line 3","Address line 4","Address line 5","Address line 6","Postcode"\n' + | ||
// Row - Primary user | ||
'"123/46","2434","2018-01-01","2019-01-01","2021-01-01","email","invitations",,,"[email protected]",,,,,,,\n' + | ||
'"123/46","2434","2018-01-01","2019-01-01","2021-01-01","email","invitations","[email protected]",,,,,,,,\n' + | ||
// Row - Licence holder | ||
'"1/343/3","376439279","2018-01-01","2019-01-01","2021-01-01","letter","invitations","Mr J Licence holder only",,,"4","Privet Drive","Line 3","Line 4","Little Whinging","United Kingdom","WD25 7LR"\n' + | ||
'"1/343/3","376439279","2018-01-01","2019-01-01","2021-01-01","letter","invitations",,"Mr J Licence holder only","4","Privet Drive","Line 3","Line 4","Little Whinging","United Kingdom","WD25 7LR"\n' + | ||
// Row - Returns to | ||
'"1/343/3","376439279","2018-01-01","2019-01-01","2021-01-01","letter","invitations","Mr J Returns to (same licence ref as licence holder)",,,"4","Privet Drive","Line 3","Line 4","Surrey","United Kingdom","WD25 7LR"\n' + | ||
'"1/343/3","376439279","2018-01-01","2019-01-01","2021-01-01","letter","invitations",,"Mr J Returns to (same licence ref as licence holder)","4","Privet Drive","Line 3","Line 4","Surrey","United Kingdom","WD25 7LR"\n' + | ||
// Row - Licence holder - organisation | ||
'"1/343/3","376439279","2018-01-01","2019-01-01","2021-01-01","letter","invitations","Gringotts",,,"4","Privet Drive","Line 3","Line 4","Little Whinging","United Kingdom","WD25 7LR"\n' | ||
'"1/343/3","376439279","2018-01-01","2019-01-01","2021-01-01","letter","invitations",,"Gringotts","4","Privet Drive","Line 3","Line 4","Little Whinging","United Kingdom","WD25 7LR"\n' | ||
) | ||
}) | ||
|
||
|
@@ -55,9 +55,8 @@ describe('Notifications Setup - Download recipients presenter', () => { | |
'"Returns due date",' + | ||
'"Message type",' + | ||
'"Message reference",' + | ||
'"Licence holder",' + | ||
'"Recipient name",' + | ||
'"Email",' + | ||
'"Recipient name",' + | ||
'"Address line 1",' + | ||
'"Address line 2",' + | ||
'"Address line 3",' + | ||
|
@@ -85,9 +84,8 @@ describe('Notifications Setup - Download recipients presenter', () => { | |
'"2021-01-01",' + // 'Returns due date' | ||
'"email",' + // 'Message type' | ||
'"invitations",' + // 'Message reference' | ||
',' + // 'Licence holder' | ||
',' + // 'Recipient name' | ||
'"[email protected]",' + // Email | ||
',' + // 'Recipient name'' | ||
',' + // 'Address line 1' | ||
',' + // 'Address line 2' | ||
',' + // 'Address line 3' | ||
|
@@ -117,9 +115,8 @@ describe('Notifications Setup - Download recipients presenter', () => { | |
'"2021-01-01",' + // 'Returns due date' | ||
'"letter",' + // 'Message type' | ||
'"invitations",' + // 'Message reference' | ||
'"Mr J Licence holder only",' + // 'Licence holder' | ||
',' + // 'Recipient name' | ||
'"Mr J Licence holder only",' + // 'Recipient name'' | ||
'"4",' + // 'Address line 1' | ||
'"Privet Drive",' + // 'Address line 2' | ||
'"Line 3",' + // 'Address line 3' | ||
|
@@ -148,9 +145,8 @@ describe('Notifications Setup - Download recipients presenter', () => { | |
'"2021-01-01",' + // 'Returns due date' | ||
'"letter",' + // 'Message type' | ||
'"invitations",' + // 'Message reference' | ||
'"Mr J Returns to (same licence ref as licence holder)",' + // 'Licence holder' | ||
',' + // 'Recipient name' | ||
'"Mr J Returns to (same licence ref as licence holder)",' + // 'Recipient name'' | ||
'"4",' + // 'Address line 1' | ||
'"Privet Drive",' + // 'Address line 2' | ||
'"Line 3",' + // 'Address line 3' | ||
|
@@ -180,9 +176,8 @@ describe('Notifications Setup - Download recipients presenter', () => { | |
'"2021-01-01",' + // 'Returns due date' | ||
'"letter",' + // 'Message type' | ||
'"invitations",' + // 'Message reference' | ||
'"Gringotts",' + // 'Licence holder' - organisation | ||
',' + // 'Recipient name' | ||
'"Gringotts",' + // 'Recipient name'' - organisation | ||
'"4",' + // 'Address line 1' | ||
'"Privet Drive",' + // 'Address line 2' | ||
'"Line 3",' + // 'Address line 3' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters