diff --git a/yudao-framework/yudao-spring-boot-starter-biz-sms/src/test/java/cn/iocoder/yudao/framework/sms/core/client/impl/yunpian/YunpianSmsClientTest.java b/yudao-framework/yudao-spring-boot-starter-biz-sms/src/test/java/cn/iocoder/yudao/framework/sms/core/client/impl/yunpian/YunpianSmsClientTest.java index a28745e6c..3fc05ce77 100644 --- a/yudao-framework/yudao-spring-boot-starter-biz-sms/src/test/java/cn/iocoder/yudao/framework/sms/core/client/impl/yunpian/YunpianSmsClientTest.java +++ b/yudao-framework/yudao-spring-boot-starter-biz-sms/src/test/java/cn/iocoder/yudao/framework/sms/core/client/impl/yunpian/YunpianSmsClientTest.java @@ -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);