femas icon indicating copy to clipboard operation
femas copied to clipboard

AuthTest run error

Open mroccyen opened this issue 2 years ago • 2 comments

image

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

mroccyen avatar Jul 16 '22 07:07 mroccyen

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模块中

mroccyen avatar Jul 16 '22 09:07 mroccyen

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

mroccyen avatar Jul 18 '22 03:07 mroccyen