mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 09:30:56 +00:00
toolbox: fix the test case
This commit is contained in:
parent
84a4379f0d
commit
7d1b03ee5d
@ -10,7 +10,6 @@
|
||||
package toolbox
|
||||
|
||||
import (
|
||||
"os"
|
||||
"testing"
|
||||
"time"
|
||||
)
|
||||
@ -23,5 +22,5 @@ func TestStatics(t *testing.T) {
|
||||
StatisticsMap.AddStatistics("POST", "/api/user/astaxie", "&admin.user", time.Duration(12000))
|
||||
StatisticsMap.AddStatistics("POST", "/api/user/xiemengjun", "&admin.user", time.Duration(13000))
|
||||
StatisticsMap.AddStatistics("DELETE", "/api/user", "&admin.user", time.Duration(1400))
|
||||
StatisticsMap.GetMap(os.Stdout)
|
||||
t.Log(StatisticsMap.GetMap())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user