@@ -7,7 +7,7 @@ const { normalizer: southwestGasNormalizer } = require('./documentTypes/southwes
7
7
8
8
it ( 'Expect AZ diver license data to be normalized' , async ( ) => {
9
9
const validated = {
10
- type : 'AZDL ' ,
10
+ type : 'Arizona\'s Driver License ' ,
11
11
first_name : 'SAMPLE' ,
12
12
last_name : 'JELANI' ,
13
13
street_address_line_1 : '123 MAIN ST' ,
@@ -19,7 +19,7 @@ it('Expect AZ diver license data to be normalized', async () => {
19
19
20
20
const response = normalizeValidated ( validated ) ;
21
21
22
- expect ( response [ 'Type' ] ) . toBe ( 'AZDL ' ) ;
22
+ expect ( response [ 'Type' ] ) . toBe ( 'Arizona\'s Driver License ' ) ;
23
23
expect ( response [ 'First Name' ] ) . toBe ( 'SAMPLE' ) ;
24
24
expect ( response [ 'Last Name' ] ) . toBe ( 'JELANI' ) ;
25
25
expect ( response [ 'Street Address Line 1' ] ) . toBe ( '123 MAIN ST' ) ;
@@ -93,7 +93,7 @@ it('Expect APS bill data to be normalized', async () => {
93
93
94
94
it ( 'Expect CITYOFPHOENIXWATER bill data to be normalized' , async ( ) => {
95
95
const validated = {
96
- type : 'CITYOFPHOENIXWATER ' ,
96
+ type : 'City of Phoenix Water ' ,
97
97
first_name : 'MARY A' ,
98
98
last_name : 'GREGORY' ,
99
99
street_address_line_1 : '2560 E FIFTH AVE' ,
@@ -109,7 +109,7 @@ it('Expect CITYOFPHOENIXWATER bill data to be normalized', async () => {
109
109
} ;
110
110
111
111
const response = normalizeValidated ( validated , cityOfPhoenixNormalizer ) ;
112
- expect ( response [ 'Type' ] ) . toBe ( 'CITYOFPHOENIXWATER ' ) ;
112
+ expect ( response [ 'Type' ] ) . toBe ( 'City of Phoenix Water ' ) ;
113
113
expect ( response [ 'First Name' ] ) . toBe ( 'MARY A' ) ;
114
114
expect ( response [ 'Last Name' ] ) . toBe ( 'GREGORY' ) ;
115
115
expect ( response [ 'Street Address Line 1' ] ) . toBe ( '2560 E FIFTH AVE' ) ;
@@ -125,7 +125,7 @@ it('Expect CITYOFPHOENIXWATER bill data to be normalized', async () => {
125
125
126
126
it ( 'Expect SOUTHWESTGAS bill data to be normalized' , async ( ) => {
127
127
const validated = {
128
- type : 'SOUTHWESTGAS ' ,
128
+ type : 'Southwest Gas ' ,
129
129
first_name : 'CHARLES' ,
130
130
last_name : 'DOE' ,
131
131
street_address_line_1 : '2561 W ARCADIA LN 85310' ,
@@ -141,7 +141,7 @@ it('Expect SOUTHWESTGAS bill data to be normalized', async () => {
141
141
} ;
142
142
143
143
const response = normalizeValidated ( validated , southwestGasNormalizer ) ;
144
- expect ( response [ 'Type' ] ) . toBe ( 'SOUTHWESTGAS ' ) ;
144
+ expect ( response [ 'Type' ] ) . toBe ( 'Southwest Gas ' ) ;
145
145
expect ( response [ 'First Name' ] ) . toBe ( 'CHARLES' ) ;
146
146
expect ( response [ 'Last Name' ] ) . toBe ( 'DOE' ) ;
147
147
expect ( response [ 'Street Address Line 1' ] ) . toBe ( '2561 W ARCADIA LN 85310' ) ;
0 commit comments