pudongliang 5 месяцев назад
Родитель
Сommit
6fed559213

+ 1 - 1
src/test/java/com/moka/gdtauto/service/TencentAdsAuthServiceTest.java

@@ -54,7 +54,7 @@ class TencentAdsAuthServiceTest {
 
     @BeforeEach
     void setUp() throws Exception {
-        when(tencentAdsConfig.getAppId()).thenReturn(TEST_APP_ID);
+        when(tencentAdsConfig.getClientId()).thenReturn(TEST_APP_ID);
         when(tencentAdsConfig.getSecret()).thenReturn(TEST_SECRET);
         
         // 使用反射设置baseMapper,解决ServiceImpl的baseMapper注入问题