aboutsummaryrefslogtreecommitdiffstats
path: root/models/fixtures
diff options
context:
space:
mode:
Diffstat (limited to 'models/fixtures')
-rw-r--r--models/fixtures/branch.yml47
-rw-r--r--models/fixtures/deleted_branch.yml15
2 files changed, 47 insertions, 15 deletions
diff --git a/models/fixtures/branch.yml b/models/fixtures/branch.yml
new file mode 100644
index 0000000000..93003049c6
--- /dev/null
+++ b/models/fixtures/branch.yml
@@ -0,0 +1,47 @@
+-
+ id: 1
+ repo_id: 1
+ name: 'foo'
+ commit_id: '65f1bf27bc3bf70f64657658635e66094edbcb4d'
+ commit_message: 'first commit'
+ commit_time: 978307100
+ pusher_id: 1
+ is_deleted: true
+ deleted_by_id: 1
+ deleted_unix: 978307200
+
+-
+ id: 2
+ repo_id: 1
+ name: 'bar'
+ commit_id: '62fb502a7172d4453f0322a2cc85bddffa57f07a'
+ commit_message: 'second commit'
+ commit_time: 978307100
+ pusher_id: 1
+ is_deleted: true
+ deleted_by_id: 99
+ deleted_unix: 978307200
+
+-
+ id: 3
+ repo_id: 1
+ name: 'branch2'
+ commit_id: '985f0301dba5e7b34be866819cd15ad3d8f508ee'
+ commit_message: 'make pull5 outdated'
+ commit_time: 1579166279
+ pusher_id: 1
+ is_deleted: false
+ deleted_by_id: 0
+ deleted_unix: 0
+
+-
+ id: 4
+ repo_id: 1
+ name: 'master'
+ commit_id: '65f1bf27bc3bf70f64657658635e66094edbcb4d'
+ commit_message: 'Initial commit'
+ commit_time: 1489927679
+ pusher_id: 1
+ is_deleted: false
+ deleted_by_id: 0
+ deleted_unix: 0
diff --git a/models/fixtures/deleted_branch.yml b/models/fixtures/deleted_branch.yml
deleted file mode 100644
index 6a08a78343..0000000000
--- a/models/fixtures/deleted_branch.yml
+++ /dev/null
@@ -1,15 +0,0 @@
--
- id: 1
- repo_id: 1
- name: foo
- commit: 1213212312313213213132131
- deleted_by_id: 1
- deleted_unix: 978307200
-
--
- id: 2
- repo_id: 1
- name: bar
- commit: 5655464564554545466464655
- deleted_by_id: 99
- deleted_unix: 978307200