map: tickets 06+07 resolved; 05 partial (live spawn pending gitea token)
This commit is contained in:
+3
-3
@@ -41,9 +41,9 @@ type GitLabRepo struct {
|
||||
// giteaRepo is the subset of the upstream Gitea /api/v1/user/repos item we
|
||||
// map from.
|
||||
type giteaRepo struct {
|
||||
FullName string `json:"full_name"`
|
||||
Name string `json:"name"`
|
||||
Owner struct {
|
||||
FullName string `json:"full_name"`
|
||||
Name string `json:"name"`
|
||||
Owner struct {
|
||||
Login string `json:"login"`
|
||||
} `json:"owner"`
|
||||
UpdatedAt string `json:"updated_at"`
|
||||
|
||||
@@ -102,7 +102,7 @@ func TestGitLabStatusStoreFailure(t *testing.T) {
|
||||
|
||||
func TestGitLabConnectStoreFailures(t *testing.T) {
|
||||
up := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
_, _ = w.Write([]byte(`{"login":"alice"}`))
|
||||
_, _ = w.Write([]byte(`{"login":"alice"}`))
|
||||
}))
|
||||
t.Cleanup(up.Close)
|
||||
dead := openTestStore(t)
|
||||
|
||||
Reference in New Issue
Block a user