Skip to content

Commit

Permalink
Added Http Namespace
Browse files Browse the repository at this point in the history
Signed-off-by: Theo Truong <[email protected]>
  • Loading branch information
nhtruong committed Nov 20, 2023
1 parent d8d3a48 commit 3acc984
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions test/integration/helpers-secure/http.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,6 @@ test('Check that the previously created index exists', async (t) => {
t.equal(response.statusCode, 200);
});

test('Add documents using bulk endpoint', async (t) => {
const body = [
{ index: { _index: index } },
{ title: 'The quick brown fox' },
{ index: { _index: index } },
{ title: 'The quick brown fox jumps over the lazy dog' },
];
const response = await http.post({ path: `_bulk`, body });
t.equal(response.body.errors, false);
});

Check failure on line 41 in test/integration/helpers-secure/http.test.js

View workflow job for this annotation

GitHub Actions / Test (16.x, ubuntu-latest)

Delete `⏎`
test('Close the previously created index', async (t) => {
const response = await http.post({ path: `${index}/_close` });
Expand Down

0 comments on commit 3acc984

Please sign in to comment.