From f009c6ec4a0a8b2422946540ad3f11d928366b83 Mon Sep 17 00:00:00 2001
From: Gusted <postmaster@gusted.xyz>
Date: Wed, 26 Mar 2025 00:19:31 +0000
Subject: [PATCH] fix: fix ci dashboard e2e test (#7338)

- Add the necessary branch row for the workflow repository. This is required for the dashboard search to return any commit status for the default branch.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7338
Reviewed-by: Otto <otto@codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
---
 models/fixtures/branch.yml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/models/fixtures/branch.yml b/models/fixtures/branch.yml
index b75d3706cc..2a9e3105e6 100644
--- a/models/fixtures/branch.yml
+++ b/models/fixtures/branch.yml
@@ -57,3 +57,15 @@
   is_deleted: false
   deleted_by_id: 0
   deleted_unix: 0
+
+-
+  id: 16
+  repo_id: 62
+  name: 'main'
+  commit_id: '774f93df12d14931ea93259ae93418da4482fcc1'
+  commit_message: 'Add workflow test-dispatch.yml'
+  commit_time: 1717317522
+  pusher_id: 1
+  is_deleted: false
+  deleted_by_id: 0
+  deleted_unix: 0