Skip to content

Commit

Permalink
fix workbench download text and csv schema (#814)
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Li <joshuali925@gmail.com>
  • Loading branch information
joshuali925 committed Sep 5, 2023
1 parent 81f70c3 commit 46c0882
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 46c0882

Please sign in to comment.