File tree Expand file tree Collapse file tree
data-mongodb-tc-data-load/src/test/java/zin/rashidi/data/mongodb/tc/dataload/user
graphql/src/test/java/zin/rashidi/boot/graphql/book
modulith/src/main/java/zin/rashidi/boot/modulith/subscription
test-execution-listeners/src/test/java/zin/rashidi/boot/test/user Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77import org .springframework .boot .test .context .TestConfiguration ;
88import org .springframework .boot .testcontainers .service .connection .ServiceConnection ;
99import org .springframework .context .annotation .Bean ;
10- import org .springframework .context .annotation .ComponentScan ;
1110import org .springframework .context .annotation .ComponentScan .Filter ;
12- import org .springframework .context .annotation .FilterType ;
1311import org .springframework .core .io .ClassPathResource ;
1412import org .springframework .core .io .Resource ;
1513import org .springframework .data .repository .init .Jackson2RepositoryPopulatorFactoryBean ;
Original file line number Diff line number Diff line change 1010import org .springframework .stereotype .Repository ;
1111
1212import static org .springframework .context .annotation .FilterType .ANNOTATION ;
13- import static org .springframework .context .annotation .FilterType .ASSIGNABLE_TYPE ;
1413
1514/**
1615 * @author Rashidi Zin
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ class Subscription {
1313 private Long id ;
1414 private final Long studentId ;
1515 private final Long courseId ;
16- private Status status ;
16+ private final Status status ;
1717
1818 public Subscription (Long studentId , Long courseId ) {
1919 this .studentId = studentId ;
Original file line number Diff line number Diff line change 1111 */
1212class UserDeletionTestExecutionListener extends AbstractTestExecutionListener {
1313
14- private static Logger log = LoggerFactory .getLogger (UserDeletionTestExecutionListener .class );
14+ private static final Logger log = LoggerFactory .getLogger (UserDeletionTestExecutionListener .class );
1515
1616 @ Override
1717 public void afterTestClass (TestContext testContext ) {
Original file line number Diff line number Diff line change 1313import org .testcontainers .containers .MongoDBContainer ;
1414import org .testcontainers .junit .jupiter .Container ;
1515import org .testcontainers .junit .jupiter .Testcontainers ;
16- import org .testcontainers .utility .DockerImageName ;
1716
1817/**
1918 * @author Rashidi Zin
You can’t perform that action at this time.
0 commit comments