Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions lesson_16/objects/objects_app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@ repositories {

dependencies {
// Use JUnit Jupiter for testing.
testImplementation("com.codedifferently.instructional:instructional-lib")
testImplementation("org.junit.jupiter:junit-jupiter:5.9.1")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.assertj:assertj-core:3.25.1")
testImplementation("at.favre.lib:bcrypt:0.10.2")

// This dependency is used by the application.
implementation("com.codedifferently.instructional:instructional-lib")
implementation("com.google.guava:guava:31.1-jre")
implementation("com.google.code.gson:gson:2.10.1")
implementation("org.projectlombok:lombok:1.18.30")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
import static org.assertj.core.api.Assertions.assertThat;

import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest(useMainMethod = SpringBootTest.UseMainMethod.WHEN_AVAILABLE)
class Lesson16Test {

@Test
void testCanVote() {
void testMain() {
assertThat(new Lesson16()).isNotNull();
}
}
2 changes: 0 additions & 2 deletions lesson_16/objects/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,5 @@
* in the user manual at https://docs.gradle.org/8.0.2/userguide/multi_project_builds.html
*/

includeBuild("../../lib/java/codedifferently-instructional")

rootProject.name = "lesson_16"
include("objects_app")