3
0

Remove useless todos for tests

This commit is contained in:
Denis Arh
2020-12-16 09:23:12 +01:00
parent cfee999029
commit f9c1fa2680
5 changed files with 0 additions and 5 deletions

View File

@@ -59,7 +59,6 @@ func Test_RecordEncoding(t *testing.T) {
structResult: `{"createdAt":"2017-09-09T17:00:00Z","deletedAt":null,"ownedBy":"12345","recordID":"12345"}` + "\n" +
`{"createdAt":"1970-01-01T03:25:45Z","deletedAt":null,"fff":["1","2"],"foo":"bar","ownedBy":"12345","recordID":"54321"}` + "\n",
},
// TODO: Add test cases.
}
for _, tt := range tests {

View File

@@ -12,7 +12,6 @@ func TestModuleFieldOptions_Int64Def(t *testing.T) {
def int64
want int64
}{
// TODO: Add test cases.
{"unexisting", ModuleFieldOptions{}, "k", 42, 42},
{"nil", ModuleFieldOptions{"k": nil}, "k", 42, 42},
{"bool", ModuleFieldOptions{"k": true}, "k", 42, 42},

View File

@@ -10,7 +10,6 @@ func TestIsValid(t *testing.T) {
handle string
want bool
}{
// TODO: Add test cases.
{"empty", "", true},
{"alphanum", "a1", true},
{"alpha", "abc", true},

View File

@@ -356,7 +356,6 @@ func Test_auth_validateToken(t *testing.T) {
wantID uint64
wantCredentials string
}{
// TODO: Add test cases.
{
name: "empty",
wantID: 0,

View File

@@ -15,7 +15,6 @@ func Test_mailProcMessage(t *testing.T) {
wantOut *MailMessage
wantErr bool
}{
// TODO: Add test cases.
{name: "basics",
input: `
From: <sender@testing.cortezaproject.org>