Submit a task
This commit is contained in:
@@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user