This commit is contained in:
Radhi Fadlillah 2018-03-09 09:09:55 +07:00
parent 08f585b493
commit 236f86562a

View file

@ -15,7 +15,7 @@ func TestAddBookMark(t *testing.T) {
}{ }{
{ {
model.Bookmark{}, model.Bookmark{},
true, "URL must not be empty", true, "URL is not valid",
}, },
{ {
model.Bookmark{ model.Bookmark{
@ -23,7 +23,6 @@ func TestAddBookMark(t *testing.T) {
}, },
true, "Title must not be empty", true, "Title must not be empty",
}, },
{model.Bookmark{URL: "foo", Title: "Foo"}, true, ""},
{ {
model.Bookmark{ model.Bookmark{
URL: "https://github.com/RadhiFadlillah/shiori", URL: "https://github.com/RadhiFadlillah/shiori",