aboutsummaryrefslogtreecommitdiffstats
path: root/models/fixtures
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2017-11-04 15:31:59 +0200
committerGitHub <noreply@github.com>2017-11-04 15:31:59 +0200
commitbd6f24b4abcd932d55e9d01af3b6992843901d89 (patch)
treef2e517f9223a8312fd64d296ab3d5c84f3af2fbb /models/fixtures
parent1621069f833bb5c5531b926a1f9db0873f901d82 (diff)
downloadgitea-bd6f24b4abcd932d55e9d01af3b6992843901d89.tar.gz
gitea-bd6f24b4abcd932d55e9d01af3b6992843901d89.zip
Add deleted_branch table fixture (#2832)
* Add deleted_branch table fixture * Fix deleted branches tests * Remove unneeded global variable
Diffstat (limited to 'models/fixtures')
-rw-r--r--models/fixtures/deleted_branch.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/models/fixtures/deleted_branch.yml b/models/fixtures/deleted_branch.yml
new file mode 100644
index 0000000000..6a08a78343
--- /dev/null
+++ b/models/fixtures/deleted_branch.yml
@@ -0,0 +1,15 @@
+-
+ 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