Submit a task

This commit is contained in:
Bel LaPointe
2019-11-13 13:17:56 -07:00
parent ee77d9d3b7
commit cf1fd1dfed
13 changed files with 259 additions and 49 deletions

View File

@@ -8,9 +8,9 @@ import (
func TestAjaxStorageCur(t *testing.T) {
ajax := mockAjax()
r := httptest.NewRequest("POST", "/?id=abc", nil)
r := httptest.NewRequest("POST", "/?id=abc&list=def", nil)
listID, taskID, tags := ajax.Cur(r)
if listID != "list" {
if listID != "def" {
t.Error(listID)
}
if taskID != "abc" {