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

AuthTest run error #188

Open
mroccyen opened this issue Jul 16, 2022 · 2 comments
Open

AuthTest run error #188

mroccyen opened this issue Jul 16, 2022 · 2 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@mroccyen
Copy link
Contributor

image

如图所示,AuthTest 所有的单元测试都是错误的,这个需要修复一下

@mroccyen
Copy link
Contributor Author

image

我发现是加载Context和ContextConstant时没加载成功,从而导致这个错误发生的。然后我还发现很多其他的单元测试也是这个错误导致的,比如RouteRuleRouterTest,这个是没有配置META-INF/services导致的,虽然在femas-adaptor-opensource-admin模块中有配置,但是这是应用模块了,如果单独使用femas-governance-impl模块就会有问题。

可以将Context和ContextConstant的实现从femas-adaptor-opensource-admin剥离出来,看是否放在femas-governance-impl或者femas-common模块中

@zilongTong zilongTong added the good first issue Good for newcomers label Jul 18, 2022
@mroccyen
Copy link
Contributor Author

i will try my best to do it,please assign to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants