mirror of
https://github.com/astaxie/beego.git
synced 2025-06-11 20:50:40 +00:00
Merge pull request #1832 from JessonChan/log_enhancement
Log enhancement
This commit is contained in:
@ -100,7 +100,7 @@ func TestSubDomain(t *testing.T) {
|
||||
|
||||
/* TODO Fix this
|
||||
r, _ = http.NewRequest("GET", "http://127.0.0.1/", nil)
|
||||
beegoInput.Request = r
|
||||
beegoInput.Context.Request = r
|
||||
if beegoInput.SubDomains() != "" {
|
||||
t.Fatal("Subdomain parse error, got " + beegoInput.SubDomains())
|
||||
}
|
||||
|
Reference in New Issue
Block a user