Skip to content

Commit 394ff3e

Browse files
committed
feat: initial jdbc setup
1 parent 5376997 commit 394ff3e

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ classes/
1414
jxl.log
1515
jmx.log
1616
derby.log
17+
logs/
1718

1819
# Gradle artifacts
1920
.gradle

logs/app.log

Whitespace-only changes.

src/test/java/com/example/app/repository/CustomerRepositoryTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ public void tearDown() throws Exception {
2727
// }
2828

2929
public void testFindById() {
30-
long id = 1;
31-
Customer customer = repository.findById(BigInteger.valueOf(id));
30+
Customer customer = repository.findById(BigInteger.valueOf(1));
3231
assertNotNull(customer);
3332
assertEquals("Alice Johnson", customer.getName());
3433
assertEquals("[email protected]", customer.getEmail());

0 commit comments

Comments
 (0)