File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
src/test/java/com/codedifferently/lesson17 Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -17,14 +17,12 @@ repositories {
1717
1818dependencies {
1919 // Use JUnit Jupiter for testing.
20- testImplementation(" com.codedifferently.instructional:instructional-lib" )
2120 testImplementation(" org.junit.jupiter:junit-jupiter:5.9.1" )
2221 testImplementation(" org.springframework.boot:spring-boot-starter-test" )
2322 testImplementation(" org.assertj:assertj-core:3.25.1" )
2423 testImplementation(" at.favre.lib:bcrypt:0.10.2" )
2524
2625 // This dependency is used by the application.
27- implementation(" com.codedifferently.instructional:instructional-lib" )
2826 implementation(" com.google.guava:guava:31.1-jre" )
2927 implementation(" com.google.code.gson:gson:2.10.1" )
3028 implementation(" org.projectlombok:lombok:1.18.30" )
Original file line number Diff line number Diff line change 33import static org .assertj .core .api .Assertions .assertThat ;
44
55import org .junit .jupiter .api .Test ;
6+ import org .springframework .boot .test .context .SpringBootTest ;
7+ import org .springframework .boot .test .context .SpringBootTest .UseMainMethod ;
68
9+ @ SpringBootTest (useMainMethod = UseMainMethod .WHEN_AVAILABLE )
710class Lesson17Test {
811
912 @ Test
Original file line number Diff line number Diff line change 77 * in the user manual at https://docs.gradle.org/8.0.2/userguide/multi_project_builds.html
88 */
99
10- includeBuild(" ../../lib/java/codedifferently-instructional" )
11-
1210rootProject.name = " lesson_13"
1311include(" bank_app" )
You can’t perform that action at this time.
0 commit comments