Massive update on the automated registrar OTE check

This commit is contained in:
Pinga 2024-02-27 09:42:35 +02:00
parent f3b798db38
commit e3e560929f
7 changed files with 300 additions and 111 deletions

View file

@ -780,6 +780,32 @@ INSERT INTO registrar_contact (id, registrar_id, type, title, first_name, middle
('6', '2', 'abuse', NULL, 'Test', NULL, 'Name', '', '', NULL, NULL, 'Lviv', '', '', 'ua', '', NULL, 'test@namingo.org');
SELECT setval('registrar_contact_id_seq', COALESCE((SELECT MAX(id) FROM registrar_contact), 0) + 1);
INSERT INTO registrar_ote (registrar_id, command, result) VALUES
('1', 'contact:create', '9'),
('1', 'domain:check', '9'),
('1', 'domain:info', '9'),
('1', 'domain:renew', '9'),
('1', 'domain:transfer', '9'),
('1', 'login', '9'),
('1', 'host:create', '9'),
('1', 'host:info', '9'),
('1', 'contact:update', '9'),
('1', 'domain:delete', '9'),
('1', 'poll:request', '9'),
('1', 'logout', '9'),
('2', 'contact:create', '9'),
('2', 'domain:check', '9'),
('2', 'domain:info', '9'),
('2', 'domain:renew', '9'),
('2', 'domain:transfer', '9'),
('2', 'login', '9'),
('2', 'host:create', '9'),
('2', 'host:info', '9'),
('2', 'contact:update', '9'),
('2', 'domain:delete', '9'),
('2', 'poll:request', '9'),
('2', 'logout', '9');
INSERT INTO users (email, password, username, status, verified, resettable, roles_mask, registered, last_login, force_logout, tfa_secret, tfa_enabled, auth_method, backup_codes) VALUES
('info@leonet.com', '$argon2id$v=19$m=2048,t=4,p=4$STNMRDZRblBBVmRMeFhpdg$DpPnVyIHXJag11Pdi4J7xFAdtnmWfiNCgAjkIOpVtYk', 'leonet', 0, 1, 1, 4, 1, NULL, 0, NULL, false, 'password', NULL),
('info@nordregistrar.com', '$argon2id$v=19$m=2048,t=4,p=4$STNMRDZRblBBVmRMeFhpdg$DpPnVyIHXJag11Pdi4J7xFAdtnmWfiNCgAjkIOpVtYk', 'nordregistrar', 0, 1, 1, 4, 1, NULL, 0, NULL, false, 'password', NULL);