Skip to content

Commit

Permalink
feat: initial jdbc setup
Browse files Browse the repository at this point in the history
  • Loading branch information
briantanseng committed Nov 4, 2024
1 parent 5376997 commit 394ff3e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classes/
jxl.log
jmx.log
derby.log
logs/

# Gradle artifacts
.gradle
Expand Down
Empty file removed logs/app.log
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ public void tearDown() throws Exception {
// }

public void testFindById() {
long id = 1;
Customer customer = repository.findById(BigInteger.valueOf(id));
Customer customer = repository.findById(BigInteger.valueOf(1));
assertNotNull(customer);
assertEquals("Alice Johnson", customer.getName());
assertEquals("[email protected]", customer.getEmail());
Expand Down

0 comments on commit 394ff3e

Please sign in to comment.