diff options
author | Tuomo Ala-Vannesluoma <tuomoav@gmail.com> | 2018-06-28 21:50:02 +0300 |
---|---|---|
committer | Tuomo Ala-Vannesluoma <tuomoav@gmail.com> | 2018-06-30 22:51:43 +0300 |
commit | a57640fd330cc854b0d48a3b685dd61bec9cf57d (patch) | |
tree | 77342b90e0ccb51ac13c2ea18ed5c07f4b7a8d3d /acceptance_test.go | |
parent | a0ba5ba1c3397987be7159c7952dfa38da219ab7 (diff) |
Fix not exposing project existence when group is found but project is not
Diffstat (limited to 'acceptance_test.go')
-rw-r--r-- | acceptance_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/acceptance_test.go b/acceptance_test.go index ad22d9d9..e21d0435 100644 --- a/acceptance_test.go +++ b/acceptance_test.go @@ -762,6 +762,8 @@ func TestAccessControl(t *testing.T) { require.NoError(t, err) defer rsp.Body.Close() + assert.Equal(t, http.StatusFound, rsp.StatusCode) + cookie := rsp.Header.Get("Set-Cookie") url, err := url.Parse(rsp.Header.Get("Location")) |