package com.moka.gdtauto.service;

import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ActiveProfiles;

import com.moka.gdtauto.GdtAutoApplication;

/**
 * @author moka
 * @date 2026/3/6
 * mvn test -Dtest=TaskTest#testSyncAdgroupCreativeStatus -Dspring.profiles.active=test
 */
@SpringBootTest(classes = GdtAutoApplication.class)
@ActiveProfiles("test")
public class TaskTest {

    @Autowired
    private AdPlanCreativeService adPlanCreativeService;

    @Test
    public void testSyncAdgroupCreativeStatus() {
        adPlanCreativeService.syncAdPlanCreativeStatus(11L);
    }
    
}
