tj
2025-06-05 2d549a04870d1315868a7cf19952b64e8071e711
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package com.cloudroam.service.impl;
 
import com.cloudroam.service.CalCalendarService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.annotation.Rollback;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.transaction.annotation.Transactional;
 
import static org.junit.jupiter.api.Assertions.*;
 
 
@SpringBootTest
@Transactional
@Rollback
@ActiveProfiles("test")
class CalCalendarServiceImplTest {
 
    @Autowired
    private CalCalendarService calCalendarService;
 
 
    @Test
    public void generator(){
        calCalendarService.generateCalendar(2024);
    }
 
}