Skip to content

Commit 604bd1a

Browse files
committed
refactor(test/spring/test-data.properties): remove unused valid_country_name_* properties.
Should be in 048b6ab commit. No functional changes.
1 parent 59f05ef commit 604bd1a

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

src/main/resources/liquibase/sql/test-country-italy.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
-- Used below as country's owner
66
INSERT INTO users(id, login, role, name, registered_at, activated_at, hash, salt, email) VALUES
7-
(3, 'test0', 'USER', '@valid_country_name_en@ Country Owner', NOW(), NOW(), '@old_valid_user_password_hash@', '@old_valid_user_password_salt@', '[email protected]');
7+
(3, 'test0', 'USER', 'Italy Country Owner', NOW(), NOW(), '@old_valid_user_password_hash@', '@old_valid_user_password_salt@', '[email protected]');
88

99
-- Used at least by src/test/robotframework/country/creation/validation.robot
1010
INSERT INTO countries(name, created_at, created_by, updated_at, updated_by) VALUES
11-
('@valid_country_name_en@', NOW(), 3, NOW(), 3);
11+
('Italy', NOW(), 3, NOW(), 3);

src/main/resources/test/spring/test-data.properties

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ valid_user_password_hash = $2a$10$8Rxlvw8r7r7a.w5rxOJYY.XbBE71ivvGjlnE6w/G73A58l
1616
not_activated_user1_act_key = 7777744444
1717
not_activated_user2_act_key = 4444477777
1818

19-
# this country should always exist
20-
# (used at least by src/test/robotframework/country/creation/validation.robot)
21-
valid_country_name_en = Italy
22-
# ATTENTION: must be encoded by native2asscii (MRESOURCES-175)
23-
valid_country_name_ru = \u0418\u0442\u0430\u043b\u0438\u044f
24-
2519
# this privileged user should always exist
2620
valid_admin_login = admin
2721
valid_admin_password = test

0 commit comments

Comments
 (0)