summaryrefslogtreecommitdiffstats
path: root/integrations
diff options
context:
space:
mode:
Diffstat (limited to 'integrations')
-rw-r--r--integrations/release_test.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/integrations/release_test.go b/integrations/release_test.go
index ce33ad61d9..f097531a35 100644
--- a/integrations/release_test.go
+++ b/integrations/release_test.go
@@ -19,3 +19,11 @@ func TestViewReleases(t *testing.T) {
resp := session.MakeRequest(t, req)
assert.EqualValues(t, http.StatusOK, resp.HeaderCode)
}
+
+func TestViewReleasesNoLogin(t *testing.T) {
+ prepareTestEnv(t)
+
+ req := NewRequest(t, "GET", "/user2/repo1/releases")
+ resp := MakeRequest(req)
+ assert.EqualValues(t, http.StatusOK, resp.HeaderCode)
+}