diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-08-14 08:20:32 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-08-14 08:20:32 +0000 |
commit | 035edd39c422c9434147a1b0ac457cb9383c9b5b (patch) | |
tree | 4b25e158e04068c535e828c04f336c769ac9db9c /test/fixtures | |
parent | 763d5dddde2c7dda03fe529c9dfe0d553669c277 (diff) | |
download | redmine-035edd39c422c9434147a1b0ac457cb9383c9b5b.tar.gz redmine-035edd39c422c9434147a1b0ac457cb9383c9b5b.zip |
Import issues from CSV file (#950).
git-svn-id: http://svn.redmine.org/redmine/trunk@14493 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/fixtures')
-rw-r--r-- | test/fixtures/files/import_iso8859-1.csv | 3 | ||||
-rw-r--r-- | test/fixtures/files/import_issues.csv | 4 | ||||
-rw-r--r-- | test/fixtures/roles.yml | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/test/fixtures/files/import_iso8859-1.csv b/test/fixtures/files/import_iso8859-1.csv new file mode 100644 index 000000000..6d1c04b09 --- /dev/null +++ b/test/fixtures/files/import_iso8859-1.csv @@ -0,0 +1,3 @@ +column A;column B;column C +Contenu en français;value1B;value1C +value2A;value2B;value2C diff --git a/test/fixtures/files/import_issues.csv b/test/fixtures/files/import_issues.csv new file mode 100644 index 000000000..e4cb5aa2c --- /dev/null +++ b/test/fixtures/files/import_issues.csv @@ -0,0 +1,4 @@ +priority;subject;description;start_date;due_date;parent;private;progress;custom;version;category +High;First;First description;2015-07-08;2015-08-25;;no;;PostgreSQL;;New category +Normal;Child 1;Child description;;;1;yes;10;MySQL;2.0;New category +Normal;Child of existing issue;Child description;;;#2;no;20;;2.1;Printing diff --git a/test/fixtures/roles.yml b/test/fixtures/roles.yml index 674c6d459..2e1b7c660 100644 --- a/test/fixtures/roles.yml +++ b/test/fixtures/roles.yml @@ -61,6 +61,7 @@ roles_001: - :view_changesets - :manage_related_issues - :manage_project_activities + - :import_issues position: 1 roles_002: |