Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug of beego unit test | Just Do it #14

Open
sunwenli opened this issue Oct 17, 2019 · 0 comments
Open

bug of beego unit test | Just Do it #14

sunwenli opened this issue Oct 17, 2019 · 0 comments

Comments

@sunwenli
Copy link
Owner

https://sunwenli.github.io/post/2019-0627/

During write unit test with beego , source code contains beego.AppConfig.GetSection() appear the bug .
I can not right get the config. code in project like this
cfgs, err := beego.AppConfig.GetSection("test_conf") if err != nil { panic(err) } panic outputs: not implement in the fakeConfigContainer
beego’s author reply in github that is a bug and already fixed in new version, but i got this problem still now with version 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant