File tree Expand file tree Collapse file tree
src/test/java/de/rwth/idsg/steve Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535import org .junit .jupiter .api .extension .ExtendWith ;
3636import org .springframework .beans .factory .annotation .Autowired ;
3737import org .springframework .http .HttpStatus ;
38+ import org .springframework .test .annotation .DirtiesContext ;
3839import org .springframework .test .context .ContextConfiguration ;
3940import org .springframework .test .context .junit .jupiter .SpringExtension ;
4041
4647 */
4748@ Slf4j
4849@ ExtendWith (SpringExtension .class )
50+ @ DirtiesContext (classMode = DirtiesContext .ClassMode .AFTER_EACH_TEST_METHOD )
4951@ ContextConfiguration (classes = BeanConfiguration .class )
5052public class ApplicationJsonTest {
5153
Original file line number Diff line number Diff line change 3333import jakarta .xml .ws .WebServiceException ;
3434import org .junit .jupiter .api .extension .ExtendWith ;
3535import org .springframework .beans .factory .annotation .Autowired ;
36+ import org .springframework .test .annotation .DirtiesContext ;
3637import org .springframework .test .context .ContextConfiguration ;
3738import org .springframework .test .context .junit .jupiter .SpringExtension ;
3839
4849 */
4950@ Slf4j
5051@ ExtendWith (SpringExtension .class )
52+ @ DirtiesContext (classMode = DirtiesContext .ClassMode .AFTER_EACH_TEST_METHOD )
5153@ ContextConfiguration (classes = BeanConfiguration .class )
5254public class ApplicationTest {
5355
Original file line number Diff line number Diff line change 6161import jakarta .xml .ws .WebServiceException ;
6262import org .junit .jupiter .api .extension .ExtendWith ;
6363import org .springframework .beans .factory .annotation .Autowired ;
64+ import org .springframework .test .annotation .DirtiesContext ;
6465import org .springframework .test .context .ContextConfiguration ;
6566import org .springframework .test .context .junit .jupiter .SpringExtension ;
6667
7778 */
7879@ Slf4j
7980@ ExtendWith (SpringExtension .class )
81+ @ DirtiesContext (classMode = DirtiesContext .ClassMode .AFTER_EACH_TEST_METHOD )
8082@ ContextConfiguration (classes = BeanConfiguration .class )
8183public class OperationalTestSoapOCPP16 {
8284
You can’t perform that action at this time.
0 commit comments