Skip to content

Commit 0da25e4

Browse files
committed
fix fixtures
1 parent 64ca2ba commit 0da25e4

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

models/fixtures/action_run.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
approved_by: 0
142142

143143
-
144-
id: 805
144+
id: 796
145145
title: "update actions"
146146
repo_id: 4
147147
owner_id: 1

models/fixtures/action_run_job.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@
131131
stopped: 1683636626
132132

133133
-
134-
id: 206
135-
run_id: 805
134+
id: 205
135+
run_id: 796
136136
repo_id: 4
137137
owner_id: 1
138138
commit_sha: c2d72f548424103f01ee1dc02889c1e2bff816b0

models/fixtures/action_task.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@
179179
log_expired: 0
180180

181181
-
182-
id: 56
182+
id: 55
183+
job_id: 205
183184
attempt: 1
184185
runner_id: 1
185186
status: 3 # 3 is the status code for "cancelled"

models/fixtures/repo_unit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@
735735
created_unix: 946684810
736736

737737
-
738-
id: 112
738+
id: 111
739739
repo_id: 4
740740
type: 10
741741
config: "{}"

services/doctor/actions_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ func Test_fixUnfinishedRunStatus(t *testing.T) {
1919
fixUnfinishedRunStatus(t.Context(), log.GetLogger(log.DEFAULT), true)
2020

2121
// check if the run is cancelled by id
22-
run := unittest.AssertExistsAndLoadBean(t, &actions_model.ActionRun{ID: 805})
22+
run := unittest.AssertExistsAndLoadBean(t, &actions_model.ActionRun{ID: 796})
2323
assert.Equal(t, actions_model.StatusCancelled, run.Status)
2424
}

0 commit comments

Comments
 (0)