Skip to content

Commit b5bab53

Browse files
Maintenance: ControllerAdviceTest - Add missing @UnitTest annotation
Added @UnitTest annotation to ControllerAdviceTest to ensure it's properly categorized and can be run with the unitTest Gradle task. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
1 parent 312323d commit b5bab53

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/java/spring/memewikibe/api/controller/ControllerAdviceTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import org.springframework.web.bind.annotation.PostMapping;
1313
import org.springframework.web.bind.annotation.RequestBody;
1414
import org.springframework.web.bind.annotation.RestController;
15+
import spring.memewikibe.annotation.UnitTest;
1516
import spring.memewikibe.support.error.ErrorType;
1617
import spring.memewikibe.support.error.MemeWikiApplicationException;
1718
import spring.memewikibe.support.response.ApiResponse;
@@ -20,6 +21,7 @@
2021
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath;
2122
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
2223

24+
@UnitTest
2325
class ControllerAdviceTest {
2426

2527
private MockMvc mockMvc;

0 commit comments

Comments
 (0)