Add order to tasks and lists

This commit is contained in:
Bel LaPointe
2019-11-25 12:57:47 -07:00
parent f2e3a71348
commit 48e8b91039
6 changed files with 29 additions and 2 deletions

View File

@@ -2,6 +2,7 @@ package ajax
import (
"local/todo-server/config"
"local/todo-server/server/ajax/list"
"testing"
)
@@ -15,5 +16,12 @@ func mockAjax() *Ajax {
if err != nil {
panic(err)
}
list := &list.List{
Name: "list",
UUID: "list",
}
if err := ajax.storageSetList(list); err != nil {
panic(err)
}
return ajax
}