summaryrefslogtreecommitdiffstats
path: root/test/fixtures
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-05-30 04:53:24 +0000
committerGo MAEDA <maeda@farend.jp>2020-05-30 04:53:24 +0000
commitebf5d219c9a8211c083dede3b9b9048bc68f257e (patch)
treedc036b5d5ee7f5b5ca4228c2cdcc0726c491a48c /test/fixtures
parent454bed8143baa7e7b51f7571196b068ff4297b93 (diff)
downloadredmine-ebf5d219c9a8211c083dede3b9b9048bc68f257e.tar.gz
redmine-ebf5d219c9a8211c083dede3b9b9048bc68f257e.zip
Import user accounts from CSV file (#33102).
Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@19799 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/files/import_users.csv4
-rw-r--r--test/fixtures/views/_partial.html.erb1
2 files changed, 5 insertions, 0 deletions
diff --git a/test/fixtures/files/import_users.csv b/test/fixtures/files/import_users.csv
new file mode 100644
index 000000000..e31f4e0b9
--- /dev/null
+++ b/test/fixtures/files/import_users.csv
@@ -0,0 +1,4 @@
+row;login;firstname;lastname;mail;language;admin;auth_source;password;must_change_passwd;status;phone_number
+1;user1;One;CSV;user1@somenet.foo;en;yes;;password;yes;active;000-1111-2222
+2;user2;Two;Import;user2@somenet.foo;ja;no;;password;no;locked;333-4444-5555
+3;user3;Three;User;user3@somenet.foo;-;no;LDAP test server;password;no;registered;666-7777-8888
diff --git a/test/fixtures/views/_partial.html.erb b/test/fixtures/views/_partial.html.erb
new file mode 100644
index 000000000..29ccbb1b9
--- /dev/null
+++ b/test/fixtures/views/_partial.html.erb
@@ -0,0 +1 @@
+partial html