Skip to content

Commit

Permalink
fix workbench download text and csv schema (opensearch-project#814) (o…
Browse files Browse the repository at this point in the history
…pensearch-project#817)

Signed-off-by: Joshua Li <[email protected]>
(cherry picked from commit 46c0882)

Co-authored-by: Joshua Li <[email protected]>
Signed-off-by: [email protected] <[email protected]>
  • Loading branch information
2 people authored and leanneeliatra committed Sep 29, 2023
1 parent 99a4a59 commit 8528312
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,14 +207,7 @@ describe('Test and verify SQL downloads', () => {
'select * from accounts where balance > 49500 order by account_number',
},
}).then((response) => {
if (
title === 'Download and verify CSV' ||
title === 'Download and verify Text'
) {
expect(response.body.data.body).to.have.string(files[file]);
} else {
expect(response.body.data.resp).to.have.string(files[file]);
}
expect(response.body.data.resp).to.have.string(files[file]);
});
});
});
Expand Down

0 comments on commit 8528312

Please sign in to comment.