@@ -70,8 +70,6 @@ describe('Payload', function () {
7070 expect ( response . headers [ "content-type" ] ) . to . equal ( "application/vordel-xact-data; charset=utf-8" ) ;
7171 expect ( body ) . to . be . an ( 'String' ) ;
7272 expect ( body ) . to . include ( testPayload ) ;
73- //expect(decodedDody).to.include('X-CorrelationID: Id-5d7bf75fae00e64a0245fd25');
74- //expect(decodedDody).to.include('Server: Gateway');
7573 } ) ;
7674 } ) ;
7775
@@ -91,8 +89,6 @@ describe('Payload', function () {
9189 expect ( body ) . to . be . an ( 'String' ) ;
9290 expect ( body ) . to . be . an ( 'String' ) ;
9391 expect ( body ) . to . include ( testPayload ) ;
94- //expect(decodedDody).to.include('X-CorrelationID: Id-5d7bf75fae00e64a0245fd25');
95- //expect(decodedDody).to.include('Server: Gateway');
9692 } ) ;
9793 } ) ;
9894
@@ -110,9 +106,7 @@ describe('Payload', function () {
110106 expect ( response . statusCode ) . to . equal ( 200 ) ;
111107 expect ( response . headers [ "content-type" ] ) . to . equal ( "application/vordel-xact-data; charset=utf-8" ) ;
112108 expect ( body ) . to . be . an ( 'String' ) ;
113- expect ( body ) . to . equal ( "This is a large payload, that should be limited." ) ;
114- //expect(decodedDody).to.include('X-CorrelationID: Id-5d7bf75fae00e64a0245fd25');
115- //expect(decodedDody).to.include('Server: Gateway');
109+ expect ( body ) . to . equal ( "HTTP/1.1 200 OK\r\nserver: API Builder/4.27.29\r\nrequest-id: e923342a-cf72-4c93-a774-78d1fa80c002\r\nx-xss-protection: 1; mode=block\r\nx-frame-options: DENY\r\nsurrogate-control: no-store\r\ncache-control: no-store, no-cache, must-revalidate, proxy-revalidate\r\npragma: no-cache\r\nexpires: 0\r\nx-content-type-options: nosniff\r\nstart-time: 1593791748423\r\ncontent-type: application/json; charset=utf-8\r\nresponse-time: 1\r\ncontent-md5: 0c682d056c69de8e90bbdf0a677891d8\r\ncontent-length: 281\r\netag: W/\"119-iMSR0WMPy7z6deRjls2eUuMCX5I\"\r\nVary: Accept-Encoding\r\nDate: Fri, 03 Jul 2020 15:55:48 GMT\r\nConnection: close\r\n\r\n\r\nThis is a large payload, that should be limited." ) ;
116110 } ) ;
117111 } ) ;
118112
@@ -132,8 +126,6 @@ describe('Payload', function () {
132126 expect ( response . headers [ "content-type" ] ) . to . equal ( "application/vordel-xact-data; charset=utf-8" ) ;
133127 expect ( body ) . to . be . an ( 'String' ) ;
134128 expect ( body ) . to . include ( testPayload ) ;
135- //expect(decodedDody).to.include('X-CorrelationID: Id-5d7bf75fae00e64a0245fd25');
136- //expect(decodedDody).to.include('Server: Gateway');
137129 } ) ;
138130 } ) ;
139131 } ) ;
0 commit comments