1
0

Added tests for team <-> list relations

This commit is contained in:
konrad
2018-08-29 08:50:52 +02:00
committed by kolaente
parent 950533df21
commit 98e3d3e884
6 changed files with 99 additions and 13 deletions

View File

@ -13,7 +13,7 @@ func TestList_ReadAll(t *testing.T) {
// Get all lists for our namespace
lists, err := GetListsByNamespaceID(1)
assert.NoError(t, err)
assert.Equal(t, len(lists), 1)
assert.Equal(t, len(lists), 2)
// Get all lists our user has access to
user, _, err := GetUserByID(1)