mirror of
https://github.com/beego/bee.git
synced 2025-06-25 12:10:18 +00:00
miss url
This commit is contained in:
@ -216,7 +216,7 @@ import (
|
||||
|
||||
// TestGet is a sample to run an endpoint test
|
||||
func TestGet(t *testing.T) {
|
||||
r, _ := http.NewRequest("GET", "/", nil)
|
||||
r, _ := http.NewRequest("GET", "/object", nil)
|
||||
w := httptest.NewRecorder()
|
||||
beego.BeeApp.Handlers.ServeHTTP(w, r)
|
||||
|
||||
|
Reference in New Issue
Block a user