修复部分单元测试报错的问题

pull/13/MERGE
YunaiV 2022-11-13 21:08:31 +08:00
parent 7a08c293dc
commit c528a5344f
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ public class YunpianSmsClientTest extends BaseMockitoUnitTest {
@SuppressWarnings("unchecked")
public void testDoGetSmsTemplate() throws Throwable {
// 准备参数
String apiTemplateId = randomString();
String apiTemplateId = String.valueOf(randomLongId());
// mock tpl 方法
TplApi tplApi = mock(TplApi.class);
when(client.tpl()).thenReturn(tplApi);