| File was renamed from ruoyi-admin/src/test/java/com/ruoyi/web/controller/system/Ticket20ResultQueryRemovalTest.java |
| | |
| | | package com.ruoyi.web.controller.system; |
| | | package com.battery.business.web; |
| | | |
| | | import static org.junit.jupiter.api.Assertions.assertFalse; |
| | | import static org.junit.jupiter.api.Assertions.assertTrue; |
| | |
| | | Method[] methods = TTestController.class.getDeclaredMethods(); |
| | | |
| | | assertFalse(hasGetMapping(methods, "/results")); |
| | | assertTrue(hasGetMapping(methods, "/{testId}/results")); |
| | | assertFalse(hasGetMapping(methods, "/{testId}/results")); |
| | | } |
| | | |
| | | private boolean hasGetMapping(Method[] methods, String path) |