Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/jest_integration/multi_tenancy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ describe('start OpenSearch Dashboards server', () => {

async function createTestUser(username: string = undefined, password: string = undefined) {
const testUserName = username || `test_user_${Date.now()}`;
const testUserPassword = password || 'Test_123';
const testUserPassword = password || 'testUserPassword123';

await createOrUpdateEntityAsAdmin(root, 'internalusers', testUserName, {
password: testUserPassword,
Expand Down
6 changes: 3 additions & 3 deletions test/jest_integration/security_entity_api.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ describe('start OpenSearch Dashboards server', () => {

it('create/get/update/list/delete internal user', async () => {
const testUsername = `test_user_${Date.now()}`;
const testUserPassword = 'Test_123';
const testUserPassword = 'testUserPassword123';

const createUserResponse = await createOrUpdateEntityAsAdmin(
root,
Expand Down Expand Up @@ -270,7 +270,7 @@ describe('start OpenSearch Dashboards server', () => {

it('get account info', async () => {
const testUsername = `test_user_${Date.now()}`;
const testUserPassword = 'Test_123';
const testUserPassword = 'testUserPassword123';

await createOrUpdateEntityAsAdmin(root, 'internalusers', testUsername, {
description: 'test user description',
Expand All @@ -297,7 +297,7 @@ describe('start OpenSearch Dashboards server', () => {

it('self reset password as non-admin', async () => {
const testUsername = `test_user_${Date.now()}`;
const testUserPassword = 'Test_123';
const testUserPassword = 'testUserPassword123';
const readAllRole = 'read_all'; // use predefined "read_all" role

await createOrUpdateEntityAsAdmin(root, 'internalusers', testUsername, {
Expand Down