This commit is contained in:
邹宗楠
2022-01-21 15:47:09 +08:00
parent bb8ccdb628
commit db98264b34
5 changed files with 9 additions and 7 deletions

View File

@@ -1,6 +1,7 @@
package test
import (
"fmt"
"path/filepath"
"runtime"
"testing"
@@ -19,6 +20,8 @@ func init() {
// TestGet is a sample to run an endpoint test
func TestGet(t *testing.T) {
fmt.Println("123")
//r, _ := http.NewRequest("GET", "/v1/object", nil)
//w := httptest.NewRecorder()
//beego.BeeApp.Handlers.ServeHTTP(w, r)