Skip to content

Commit

Permalink
migrate to junit 5
Browse files Browse the repository at this point in the history
Signed-off-by: liga-oz <[email protected]>
  • Loading branch information
liga-oz committed Feb 8, 2024
1 parent 100f345 commit 1f1bc2e
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
*/
package sample.spring.security;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.test.context.junit.jupiter.SpringExtension;

@RunWith(SpringRunner.class)
@ExtendWith(SpringExtension.class)
@SpringBootTest(classes = Application.class)
@java.lang.SuppressWarnings("squid:S2699")
// test properties are provided with /resources/application.yml
public class ApplicationTest {
class ApplicationTest {

@Test
public void whenSpringContextIsBootstrapped_thenNoExceptions() {
void whenSpringContextIsBootstrapped_thenNoExceptions() {
}
}

0 comments on commit 1f1bc2e

Please sign in to comment.