Fixing more stuff
This commit is contained in:
@@ -95,7 +95,7 @@ func TestSearch(t *testing.T) {
|
||||
Tags: []string{
|
||||
"example",
|
||||
},
|
||||
Link: "/article/first-article",
|
||||
Link: "article/first-article",
|
||||
},
|
||||
},
|
||||
Code: http.StatusOK,
|
||||
@@ -121,7 +121,7 @@ func TestSearch(t *testing.T) {
|
||||
Created: now.Unix(),
|
||||
Modified: now.Add(24 * time.Hour).Unix(),
|
||||
Tags: []string{},
|
||||
Link: "/article/test",
|
||||
Link: "article/test",
|
||||
},
|
||||
{
|
||||
Id: 3,
|
||||
@@ -135,7 +135,7 @@ func TestSearch(t *testing.T) {
|
||||
Created: now.Unix(),
|
||||
Modified: now.Add(12 * time.Hour).Unix(),
|
||||
Tags: []string{},
|
||||
Link: "/article/owo",
|
||||
Link: "article/owo",
|
||||
},
|
||||
},
|
||||
Code: http.StatusOK,
|
||||
@@ -158,7 +158,7 @@ func TestSearch(t *testing.T) {
|
||||
Created: now.Unix(),
|
||||
Modified: now.Add(12 * time.Hour).Unix(),
|
||||
Tags: []string{},
|
||||
Link: "/article/owo",
|
||||
Link: "article/owo",
|
||||
},
|
||||
},
|
||||
Code: http.StatusOK,
|
||||
@@ -182,7 +182,7 @@ func TestSearch(t *testing.T) {
|
||||
Tags: []string{
|
||||
"example",
|
||||
},
|
||||
Link: "/article/first-article",
|
||||
Link: "article/first-article",
|
||||
},
|
||||
},
|
||||
Code: http.StatusOK,
|
||||
@@ -206,7 +206,7 @@ func TestSearch(t *testing.T) {
|
||||
Tags: []string{
|
||||
"example",
|
||||
},
|
||||
Link: "/article/first-article",
|
||||
Link: "article/first-article",
|
||||
},
|
||||
{
|
||||
Id: 2,
|
||||
@@ -222,7 +222,7 @@ func TestSearch(t *testing.T) {
|
||||
Created: now.Unix(),
|
||||
Modified: now.Add(24 * time.Hour).Unix(),
|
||||
Tags: []string{},
|
||||
Link: "/article/test",
|
||||
Link: "article/test",
|
||||
},
|
||||
},
|
||||
Code: http.StatusOK,
|
||||
|
||||
Reference in New Issue
Block a user