mirror of
https://github.com/go-shiori/shiori.git
synced 2025-01-16 04:48:30 +08:00
Fix test
This commit is contained in:
parent
08f585b493
commit
236f86562a
1 changed files with 1 additions and 2 deletions
|
@ -15,7 +15,7 @@ func TestAddBookMark(t *testing.T) {
|
|||
}{
|
||||
{
|
||||
model.Bookmark{},
|
||||
true, "URL must not be empty",
|
||||
true, "URL is not valid",
|
||||
},
|
||||
{
|
||||
model.Bookmark{
|
||||
|
@ -23,7 +23,6 @@ func TestAddBookMark(t *testing.T) {
|
|||
},
|
||||
true, "Title must not be empty",
|
||||
},
|
||||
{model.Bookmark{URL: "foo", Title: "Foo"}, true, ""},
|
||||
{
|
||||
model.Bookmark{
|
||||
URL: "https://github.com/RadhiFadlillah/shiori",
|
||||
|
|
Loading…
Reference in a new issue