OSDN Git Service

add api handler test and fix walletRedirectHandler (#514)
authoroysheng <33340252+oysheng@users.noreply.github.com>
Mon, 2 Apr 2018 10:45:02 +0000 (18:45 +0800)
committerPaladz <yzhu101@uottawa.ca>
Mon, 2 Apr 2018 10:45:02 +0000 (18:45 +0800)
commit464470e87c766d7d553b066898106b681dc6d83b
tree676ded68442b5eff850715e38e3ec100c7a38923
parentc69e9dc5e3a361b61ab3e947e9d5f962972cfc10
add api handler test and fix walletRedirectHandler  (#514)

* add asset unit test: TestUpdateAssetAlias and TestListAssets

* fix walletRedirectHandler because cannot modify req.URL.Path out of http.Handler
add api unit test

* optimse api test
api/api.go
api/api_test.go [new file with mode: 0644]