Files
tasknote/server/src/test/resources/sql/UserRepositoryTest.sql
T
rmcamposandGitHub 80314f22d0 feat: improve security and prevent xss attacks (#30)
* feat: improve security and prevent xss attacks

* chore: fix frontend test file name location

* fix: frontend test case

* ci: add deployment connection
2026-04-16 16:49:51 -03:00

5 lines
363 B
SQL

-- Create test user
insert into users (email, password, admin, created_at, inactivated_at, email_uuid, reset_token, last_password_change)
select 'testuuid@domain.com', 'a1b2c3d4f5g6', false, current_timestamp, null, 'cc2b5506-83ed-5764-985e-611ad4ce8050', 'abc123456', current_timestamp
where not exists (select 1 from users where email = 'testuuid@domain.com');