Skip to content

Commit

Permalink
[GREEN] Fix main BoxItemApplication test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylphiann committed Apr 24, 2024
1 parent 973c17b commit 89c91ee
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/application-dev.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spring.datasource.url=jdbc:postgresql://localhost:5432/course
spring.datasource.url=jdbc:postgresql://localhost:5432/boxitem
spring.datasource.username=postgres
spring.datasource.password=postgres
spring.jpa.hibernate.ddl-auto=create-drop
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application-test.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spring.datasource.url=jdbc:postgresql://postgres:5432/course
spring.datasource.url=jdbc:postgresql://postgres:5432/boxitem
spring.datasource.username=postgres
spring.datasource.password=postgres
spring.jpa.hibernate.ddl-auto=create
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ class BoxItemApplicationTests {

@Test
void contextLoads() {
BoxItemApplication.main(new String[] {});
}

}
}

0 comments on commit 89c91ee

Please sign in to comment.