Skip to content

Commit 3d64aed

Browse files
committed
modify tests
1 parent 390d412 commit 3d64aed

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/integration/repo_commits_test.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func testRepoCommitsWithStatus(t *testing.T, resp, respOne *httptest.ResponseRec
110110
}
111111

112112
func TestRepoCommitsWithStatusPending(t *testing.T) {
113-
doTestRepoCommitWithStatus(t, "pending", "octicon-dot-fill", "yellow")
113+
doTestRepoCommitWithStatus(t, "pending", "octicon-dot-fill", "grey")
114114
}
115115

116116
func TestRepoCommitsWithStatusSuccess(t *testing.T) {
@@ -129,6 +129,10 @@ func TestRepoCommitsWithStatusWarning(t *testing.T) {
129129
doTestRepoCommitWithStatus(t, "warning", "gitea-exclamation", "yellow")
130130
}
131131

132+
func TestRepoCommitsWithStatusRunning(t *testing.T) {
133+
doTestRepoCommitWithStatus(t, "running", "octicon-dot-fill", "yellow")
134+
}
135+
132136
func TestRepoCommitsStatusParallel(t *testing.T) {
133137
defer tests.PrepareTestEnv(t)()
134138

0 commit comments

Comments
 (0)