Static file upload via optional direct link or multipart form
This commit is contained in:
@@ -117,9 +117,6 @@ func TestBoltDBFind(t *testing.T) {
|
||||
if o.Title == "" {
|
||||
t.Error(o.Title)
|
||||
}
|
||||
if o.Image == "" {
|
||||
t.Error(o.Image)
|
||||
}
|
||||
if o.Text == "" {
|
||||
t.Error(o.Text)
|
||||
}
|
||||
@@ -380,7 +377,6 @@ func fillBoltDB(t *testing.T, bdb *BoltDB) {
|
||||
Name: "name-" + uuid.New().String()[:5],
|
||||
Type: "type-" + uuid.New().String()[:5],
|
||||
Title: "titl-" + uuid.New().String()[:5],
|
||||
Image: "imge-" + uuid.New().String()[:5],
|
||||
Text: "text-" + uuid.New().String()[:5],
|
||||
Modified: time.Now().UnixNano(),
|
||||
Connections: map[string]entity.One{p.Name: p},
|
||||
|
||||
Reference in New Issue
Block a user