Skip to content

Commit

Permalink
fix another reference to chance service
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Oct 30, 2019
1 parent 9d6d5c7 commit 753a8fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x-pack/test/functional/services/random.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function RandomProvider({ getService }) {
log.debug('randomness seed: %j', seed);
const chance = new Chance(seed);

return new class Random {
return new class Randomness {
int(min = 3, max = 15) {
return chance.integer({ min, max });
}
Expand Down
2 changes: 1 addition & 1 deletion x-pack/test/saml_api_integration/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default async function({ readConfigFile }: FtrConfigProviderContext) {
testFiles: [require.resolve('./apis')],
servers: xPackAPITestsConfig.get('servers'),
services: {
chance: kibanaAPITestsConfig.get('services.chance'),
randomness: kibanaAPITestsConfig.get('services.randomness'),
es: kibanaAPITestsConfig.get('services.es'),
supertestWithoutAuth: xPackAPITestsConfig.get('services.supertestWithoutAuth'),
},
Expand Down

0 comments on commit 753a8fb

Please sign in to comment.