summaryrefslogtreecommitdiffstats
path: root/test/fixtures
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-04-15 13:23:13 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-04-15 13:23:13 +0000
commitf16cddd57ae87b820d24dd378ef036c52a4f15d4 (patch)
treec99481dd328c4cf9868af6422278ab8bd4bccede /test/fixtures
parent37205a8991920e3bc403f52711308878fea05553 (diff)
downloadredmine-f16cddd57ae87b820d24dd378ef036c52a4f15d4.tar.gz
redmine-f16cddd57ae87b820d24dd378ef036c52a4f15d4.zip
Private issues (#7414).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5466 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/attachments.yml13
-rw-r--r--test/fixtures/issues.yml18
-rw-r--r--test/fixtures/roles.yml2
3 files changed, 32 insertions, 1 deletions
diff --git a/test/fixtures/attachments.yml b/test/fixtures/attachments.yml
index bd4a86ac6..438e21254 100644
--- a/test/fixtures/attachments.yml
+++ b/test/fixtures/attachments.yml
@@ -169,3 +169,16 @@ attachments_014:
filename: changeset_utf8.diff
author_id: 2
content_type: text/x-diff
+attachments_015:
+ id: 15
+ created_on: 2010-07-19 21:07:27 +02:00
+ container_type: Issue
+ container_id: 14
+ downloads: 0
+ disk_filename: 060719210727_changeset_utf8.diff
+ digest: b91e08d0cf966d5c6ff411bd8c4cc3a2
+ filesize: 687
+ filename: private.diff
+ author_id: 2
+ content_type: text/x-diff
+ description: attachement of a private issue
diff --git a/test/fixtures/issues.yml b/test/fixtures/issues.yml
index e13817780..b001b4835 100644
--- a/test/fixtures/issues.yml
+++ b/test/fixtures/issues.yml
@@ -244,3 +244,21 @@ issues_013:
root_id: 13
lft: 1
rgt: 2
+issues_014:
+ id: 14
+ created_on: <%= 15.days.ago.to_date.to_s(:db) %>
+ project_id: 3
+ updated_on: <%= 15.days.ago.to_date.to_s(:db) %>
+ priority_id: 5
+ subject: Private issue on public project
+ fixed_version_id:
+ category_id:
+ description: This is a private issue
+ tracker_id: 1
+ assigned_to_id:
+ author_id: 2
+ status_id: 1
+ is_private: true
+ root_id: 14
+ lft: 1
+ rgt: 2
diff --git a/test/fixtures/roles.yml b/test/fixtures/roles.yml
index 7491f2f07..903df8cb1 100644
--- a/test/fixtures/roles.yml
+++ b/test/fixtures/roles.yml
@@ -3,7 +3,7 @@ roles_001:
name: Manager
id: 1
builtin: 0
- issues_visibility: default
+ issues_visibility: all
permissions: |
---
- :add_project