Skip to content

Commit

Permalink
Fixing other password hotspot
Browse files Browse the repository at this point in the history
  • Loading branch information
uo288347 committed Apr 8, 2024
1 parent 1b30f12 commit fc57e78
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion users/__tests/routes/user-routes.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ describe('User Routes', () => {
surname: 'User'
};const newUser3 = {
username: 'testuser6',
password: 'Test1234',
password: password,
name: 'Test',
surname: 'User'
};
Expand Down
2 changes: 1 addition & 1 deletion users/services/user-model.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function createSequelizeInstance() {
return new Sequelize({
host: 'mariadb',
username: 'root',
password: 'R#9aLp2sWu6y', //sesitive
password: 'R#9aLp2sWu6y', //NOSONAR
database: 'base_de_datos_de_usuarios',
port: 3306,
dialect: 'mariadb',
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/__tests__/pages/Statistics.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe('Statistics component', () => {
beforeAll(async () => {
mockAxios.onPost('http://localhost:8000/user/add').reply(200, {
username: 'testuser',
password: 'test123',
password: 'test123', //NOSONAR
name: 'Test',
surname: 'User'
});
Expand Down

0 comments on commit fc57e78

Please sign in to comment.