Skip to content

Commit

Permalink
Address review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
pheyos committed Oct 15, 2020
1 parent 5b68f12 commit 0974a29
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ export default ({ getService }: FtrProviderContext) => {
const supertest = getService('supertestWithoutAuth');
const ml = getService('ml');

const VALIDATED_SEPARATELY = 'this value is not validated directly';

describe('ValidateCardinality', function () {
before(async () => {
await esArchiver.loadIfNeeded('ml/ecommerce');
Expand Down Expand Up @@ -97,7 +99,7 @@ export default ({ getService }: FtrProviderContext) => {
const expectedResponse = [
{
id: 'cardinality_model_plot_high',
modelPlotCardinality: 'WILL BE VALIDATED SEPARATELY BELOW',
modelPlotCardinality: VALIDATED_SEPARATELY,
},
{ id: 'cardinality_partition_field', fieldName: 'order_id' },
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ export default ({ getService }: FtrProviderContext) => {
const supertest = getService('supertestWithoutAuth');
const ml = getService('ml');

const VALIDATED_SEPARATELY = 'this value is not validated directly';

describe('Validate job', function () {
before(async () => {
await esArchiver.loadIfNeeded('ml/ecommerce');
Expand Down Expand Up @@ -252,9 +254,9 @@ export default ({ getService }: FtrProviderContext) => {
},
{
id: 'cardinality_model_plot_high',
modelPlotCardinality: 'WILL BE VALIDATED SEPARATELY BELOW',
text: 'WILL BE VALIDATED SEPARATELY BELOW',
status: 'WILL BE VALIDATED SEPARATELY BELOW',
modelPlotCardinality: VALIDATED_SEPARATELY,
text: VALIDATED_SEPARATELY,
status: VALIDATED_SEPARATELY,
},
{
id: 'cardinality_partition_field',
Expand Down

0 comments on commit 0974a29

Please sign in to comment.