mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 03:18:24 +00:00 
			
		
		
		
	Restore warning commit status (#27504)
Partial revert of https://github.com/go-gitea/gitea/pull/25839. This commit status is used by a number of external integrations, so I think we should not remove it (See https://github.com/go-gitea/gitea/pull/25839#issuecomment-1729002077). This is a rare case where an existing migration needed to be alterted to avoid data loss. --------- Co-authored-by: delvh <dev.lh@web.de> Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
		| @@ -53,6 +53,7 @@ func TestPullCreate_CommitStatus(t *testing.T) { | ||||
| 			api.CommitStatusError, | ||||
| 			api.CommitStatusFailure, | ||||
| 			api.CommitStatusSuccess, | ||||
| 			api.CommitStatusWarning, | ||||
| 		} | ||||
|  | ||||
| 		statesIcons := map[api.CommitStatusState]string{ | ||||
| @@ -60,6 +61,7 @@ func TestPullCreate_CommitStatus(t *testing.T) { | ||||
| 			api.CommitStatusSuccess: "octicon-check", | ||||
| 			api.CommitStatusError:   "gitea-exclamation", | ||||
| 			api.CommitStatusFailure: "octicon-x", | ||||
| 			api.CommitStatusWarning: "gitea-exclamation", | ||||
| 		} | ||||
|  | ||||
| 		testCtx := NewAPITestContext(t, "user1", "repo1", auth_model.AccessTokenScopeWriteRepository) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user