We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a49fdee commit a0c2d77Copy full SHA for a0c2d77
integrations/api_repo_test.go
@@ -5,7 +5,6 @@
5
package integrations
6
7
import (
8
- "fmt"
9
"net/http"
10
"strings"
11
"testing"
@@ -80,11 +79,8 @@ func TestAPIOrgRepos(t *testing.T) {
80
79
DecodeJSON(t, resp, &apiRepos)
81
expectedLen := models.GetCount(t, models.Repository{OwnerID: sourceOrg.ID},
82
models.Cond("is_private = ?", false))
83
- fmt.Println(expectedLen) // 0
84
- fmt.Println(len(apiRepos)) // 1
85
assert.Len(t, apiRepos, expectedLen)
86
for _, repo := range apiRepos {
87
- fmt.Printf("%+v\n", repo)
88
assert.False(t, repo.Private)
89
}
90
0 commit comments