mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-26 09:11:52 +08:00
修复 yudao-module-system-impl 的单元测试
This commit is contained in:
parent
822f4e8192
commit
9882142a46
@ -27,6 +27,7 @@ import org.springframework.security.core.AuthenticationException;
|
||||
import org.springframework.security.core.userdetails.UsernameNotFoundException;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.validation.Validator;
|
||||
import java.util.Set;
|
||||
|
||||
import static cn.iocoder.yudao.module.system.enums.ErrorCodeConstants.*;
|
||||
@ -62,6 +63,9 @@ public class AuthServiceImplTest extends BaseDbUnitTest {
|
||||
@MockBean
|
||||
private PostService postService;
|
||||
|
||||
@MockBean
|
||||
private Validator validator;
|
||||
|
||||
@BeforeEach
|
||||
public void setUp() {
|
||||
when(captchaService.isCaptchaEnable()).thenReturn(true);
|
||||
|
@ -48,3 +48,4 @@ yudao:
|
||||
timeout: 5m
|
||||
width: 160
|
||||
height: 60
|
||||
enable: true
|
||||
|
@ -23,6 +23,8 @@ CREATE TABLE IF NOT EXISTS "system_dict_data" (
|
||||
"value" varchar(100) NOT NULL DEFAULT '',
|
||||
"dict_type" varchar(100) NOT NULL DEFAULT '',
|
||||
"status" tinyint NOT NULL DEFAULT '0',
|
||||
"color_type" varchar(100) NOT NULL DEFAULT '',
|
||||
"css_class" varchar(100) NOT NULL DEFAULT '',
|
||||
"remark" varchar(500) DEFAULT NULL,
|
||||
"creator" varchar(64) DEFAULT '',
|
||||
"create_time" timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
|
@ -1 +0,0 @@
|
||||
【add by 芋道源码】引自 https://github.com/JakHuang/form-generator/tree/dev/src/views/index 目录
|
@ -11,6 +11,8 @@ Vue.component('tinymce', Tinymce)
|
||||
Vue.config.productionTip = false
|
||||
Vue.prototype.$axios = axios
|
||||
|
||||
// add by 芋道源码:引用自 https://github.com/JakHuang/form-generator/tree/dev/src/views/index
|
||||
|
||||
new Vue({
|
||||
router,
|
||||
render: h => h(App)
|
||||
|
8
更新日志.md
8
更新日志.md
@ -11,15 +11,19 @@
|
||||
* 升级 mybatis plus 最新版本,优化多租户的实现
|
||||
* RedisKeyDefine 的发现机制
|
||||
|
||||
## [v.1.5.0] 【进行中】计划 2022.02.28 发布
|
||||
## [v.1.6.0] 【进行中】计划 2022.03.04 发布
|
||||
|
||||
* 基于 flowable 实现工作流
|
||||
* 基于 uniapp 实现小程序,完成用户中心相关的功能(社交登陆、修改密码、忘记密码、修改个人信息等等功能)
|
||||
|
||||
## [v.1.5.0] 【进行中】2022.02.18 发布
|
||||
|
||||
|
||||
|
||||
### ⚠️ Warning
|
||||
|
||||
* 修复各种多 Maven Module 重构带来的 Bug,感谢大量群友的 PR 支持!
|
||||
* 跟进 ruoyi-vue 3.4.0、3.5.0 版本,感谢这么优秀的开源项目!
|
||||
* 跟进 ruoyi-vue 3.4.0 ~ 3.8.1 版本,感谢这么优秀的开源项目!
|
||||
|
||||
### 📈 Statistic
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user