| File was renamed from ruoyi-admin/src/test/java/com/ruoyi/config/BatterySelectionMapperContractTest.java |
| | |
| | | package com.ruoyi.config; |
| | | package com.battery.business.runtime; |
| | | |
| | | import static org.junit.jupiter.api.Assertions.assertTrue; |
| | | |
| | |
| | | @Test |
| | | void batteryGroupBatteriesFeedEnabledTestOptions() |
| | | { |
| | | String groupMapper = resource("mapper/system/TBatteryGroupMapper.xml"); |
| | | String testMapper = resource("mapper/system/TTestMapper.xml"); |
| | | String groupMapper = resource("mapper/battery/TBatteryGroupMapper.xml"); |
| | | String testMapper = resource("mapper/battery/TTestMapper.xml"); |
| | | |
| | | assertTrue(groupMapper.contains("insert into t_battery_group_battery")); |
| | | assertTrue(testMapper.contains("id=\"selectEnabledBatteryOptions\"")); |