commit
0c393ef0bc
@ -1,6 +1,6 @@
|
||||
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
|
||||
spring.datasource.schema-name=royalpay_production
|
||||
spring.datasource.host=192.168.99.100:3306
|
||||
spring.datasource.host=192.168.0.49:3306
|
||||
spring.datasource.url=jdbc:mysql://${spring.datasource.host}/${spring.datasource.schema-name}?useUnicode=true&characterEncoding=utf8&useSSL=false
|
||||
spring.datasource.username=root
|
||||
spring.datasource.password=root
|
@ -0,0 +1,60 @@
|
||||
package au.com.royalpay.payment.manage.application.core.impls;
|
||||
|
||||
import au.com.royalpay.payment.manage.application.core.SimpleClientApplyService;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.test.context.ActiveProfiles;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
@SpringBootTest
|
||||
@ActiveProfiles({ "dev", "alipay", "wechat", "jd", "bestpay" })
|
||||
@RunWith(SpringRunner.class)
|
||||
public class SimpleClientApplyServiceImplTest {
|
||||
|
||||
@Resource
|
||||
private SimpleClientApplyService simpleClientApplyService;
|
||||
|
||||
@Test
|
||||
public void verifyRegisterSMSCode() {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void newAccount() {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void partnerSignIn() {
|
||||
simpleClientApplyService.partnerSignIn(null);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getAndSendSmsCode() {
|
||||
simpleClientApplyService.getAndSendSmsCode("0451120326","61");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void sendVerifyEmail() {
|
||||
simpleClientApplyService.sendVerifyEmail("kira.wang@royalpay.com.au", 9);
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
public void checkOrGenerateRegisterProcessKey() {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void deleteRegisterProcessKey() {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void checkOrGenerateVerifyMailKey() {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void deleteVerifyMailKey() {
|
||||
}
|
||||
}
|
Loading…
Reference in new issue