aboutsummaryrefslogtreecommitdiffstats
path: root/models/fixtures
diff options
context:
space:
mode:
Diffstat (limited to 'models/fixtures')
-rw-r--r--models/fixtures/repo_unit.yml14
-rw-r--r--models/fixtures/repository.yml26
-rw-r--r--models/fixtures/user.yml17
3 files changed, 56 insertions, 1 deletions
diff --git a/models/fixtures/repo_unit.yml b/models/fixtures/repo_unit.yml
index 014e5155ba..28c606da43 100644
--- a/models/fixtures/repo_unit.yml
+++ b/models/fixtures/repo_unit.yml
@@ -438,3 +438,17 @@
type: 3
config: "{\"IgnoreWhitespaceConflicts\":false,\"AllowMerge\":true,\"AllowRebase\":true,\"AllowRebaseMerge\":true,\"AllowSquash\":true}"
created_unix: 946684810
+
+-
+ id: 64
+ repo_id: 44
+ type: 1
+ config: "{}"
+ created_unix: 946684810
+
+-
+ id: 65
+ repo_id: 45
+ type: 1
+ config: "{}"
+ created_unix: 946684810
diff --git a/models/fixtures/repository.yml b/models/fixtures/repository.yml
index 32903723ec..4cec6471e9 100644
--- a/models/fixtures/repository.yml
+++ b/models/fixtures/repository.yml
@@ -561,3 +561,29 @@
num_issues: 0
is_mirror: false
status: 0
+
+-
+ id: 44
+ owner_id: 27
+ lower_name: template1
+ name: template1
+ is_private: false
+ is_template: true
+ num_stars: 0
+ num_forks: 0
+ num_issues: 0
+ is_mirror: false
+ status: 0
+
+-
+ id: 45
+ owner_id: 27
+ lower_name: template2
+ name: template2
+ is_private: false
+ is_template: true
+ num_stars: 0
+ num_forks: 0
+ num_issues: 0
+ is_mirror: false
+ status: 0
diff --git a/models/fixtures/user.yml b/models/fixtures/user.yml
index a204241f9c..5a3b04994c 100644
--- a/models/fixtures/user.yml
+++ b/models/fixtures/user.yml
@@ -427,4 +427,19 @@
num_repos: 1
num_members: 0
num_teams: 1
- repo_admin_change_team_access: true \ No newline at end of file
+ repo_admin_change_team_access: true
+
+-
+ id: 27
+ lower_name: user27
+ name: user27
+ full_name: User Twenty-Seven
+ email: user27@example.com
+ email_notifications_preference: enabled
+ passwd: 7d93daa0d1e6f2305cc8fa496847d61dc7320bb16262f9c55dd753480207234cdd96a93194e408341971742f4701772a025a # password
+ type: 0 # individual
+ salt: ZogKvWdyEx
+ is_admin: false
+ avatar: avatar27
+ avatar_email: user27@example.com
+ num_repos: 2