From 4175613164bab0bf65f75ee42d17609d7d4f2926 Mon Sep 17 00:00:00 2001 From: kolaente Date: Mon, 7 Sep 2020 22:02:39 +0200 Subject: [PATCH] Add test stubs and TODOs --- pkg/models/saved_filters_test.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/pkg/models/saved_filters_test.go b/pkg/models/saved_filters_test.go index b2155e093..d151ae1c9 100644 --- a/pkg/models/saved_filters_test.go +++ b/pkg/models/saved_filters_test.go @@ -38,3 +38,18 @@ func TestSavedFilter_getFilterIDFromListID(t *testing.T) { assert.Equal(t, int64(0), getSavedFilterIDFromListID(2)) }) } + +func TestSavedFilter_Create(t *testing.T) { +} + +func TestSavedFilter_ReadOne(t *testing.T) { + // Also test when getting a list which is actually a saved filter it returns the saved filter + // Also test getting tasks from a saved filter through the task collection as part of a normal task + // Also test rights (maybe not here) +} + +func TestSavedFilter_Update(t *testing.T) { +} + +func TestSavedFilter_Delete(t *testing.T) { +}