mirror of
https://github.com/beego/bee.git
synced 2024-11-22 05:00:54 +00:00
miss url
This commit is contained in:
parent
3492059429
commit
b103a8a3a2
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user