mirror of
https://gitee.com/dromara/sa-token.git
synced 2026-02-27 16:50:24 +08:00
单元测试改为 junit5
This commit is contained in:
@@ -6,7 +6,6 @@ import org.noear.solon.core.Aop;
|
||||
import org.noear.solon.core.Plugin;
|
||||
|
||||
import cn.dev33.satoken.SaManager;
|
||||
import cn.dev33.satoken.action.SaTokenAction;
|
||||
import cn.dev33.satoken.annotation.SaCheckBasic;
|
||||
import cn.dev33.satoken.annotation.SaCheckLogin;
|
||||
import cn.dev33.satoken.annotation.SaCheckPermission;
|
||||
@@ -33,7 +32,6 @@ import cn.dev33.satoken.temp.SaTempInterface;
|
||||
* @author noear
|
||||
* @since 1.4
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
public class XPluginImp implements Plugin {
|
||||
|
||||
@Override
|
||||
@@ -69,11 +67,6 @@ public class XPluginImp implements Plugin {
|
||||
SaManager.setSaTokenListener(bw.raw());
|
||||
});
|
||||
|
||||
// 注入框架行为 Bean
|
||||
Aop.getAsyn(SaTokenAction.class, bw->{
|
||||
SaManager.setSaTokenAction(bw.raw());
|
||||
});
|
||||
|
||||
// 注入权限认证 Bean
|
||||
Aop.getAsyn(StpInterface.class, bw->{
|
||||
SaManager.setStpInterface(bw.raw());
|
||||
|
||||
Reference in New Issue
Block a user