Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.

Commit 084e49a

Browse files
author
Chris Wiechmann
committed
Integration tests fixed - Tests data has sometimes no vhost
#103
1 parent 28f3da9 commit 084e49a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apibuilder4elastic/test/trafficMonitorAPI/asAdmin/http/test_search_endpoint_AsAdmin.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ describe('Endpoints', function () {
116116
expect(body.data).to.have.lengthOf(1);
117117
expect(body.data[0].uri).to.equals('/petstore/v2/pet/findByStatus');
118118
expect(body.data[0].method).to.equals('GET');
119-
checkFields(body.data, true);
119+
checkFields(body.data, true, false);
120120
});
121121
});
122122
it('[Endpoint-0004] should return 1 entry based on duration filter', async () => {
@@ -137,7 +137,7 @@ describe('Endpoints', function () {
137137
expect(body).to.be.an('Object');
138138
expect(body).to.have.property('data');
139139
expect(body.data).to.have.lengthOf(2);
140-
checkFields(body.data, true);
140+
checkFields(body.data, true, false);
141141
});
142142
});
143143
it('[Endpoint-0005] should return 1 entry based on operation filter', async () => {
@@ -159,7 +159,7 @@ describe('Endpoints', function () {
159159
expect(body).to.have.property('data');
160160
expect(body.data).to.have.lengthOf(1);
161161
expect(body.data[0].operation).to.equals('findPetsByStatus');
162-
checkFields(body.data, true);
162+
checkFields(body.data, true, false);
163163
});
164164
});
165165
it('[Endpoint-0006] should return 0 entries as all test data is in the past', async () => {

0 commit comments

Comments
 (0)