Search in sources :

Example 1 with AdminParam

use of com.besscroft.aurora.mall.admin.domain.param.AdminParam in project aurora-mall by besscroft.

the class UserServiceTest method register.

@Test
void register() throws Exception {
    AdminParam param = new AdminParam();
    param.setUsername("test001");
    param.setPassword("666666");
    param.setNickName("测试1号");
    boolean b = userService.register(param);
    assertTrue(b, "添加管理系统新用户失败!");
}
Also used : AdminParam(com.besscroft.aurora.mall.admin.domain.param.AdminParam) Test(org.junit.jupiter.api.Test) SpringBootTest(org.springframework.boot.test.context.SpringBootTest)

Aggregations

AdminParam (com.besscroft.aurora.mall.admin.domain.param.AdminParam)1 Test (org.junit.jupiter.api.Test)1 SpringBootTest (org.springframework.boot.test.context.SpringBootTest)1