Skip to content

Commit

Permalink
Fixed tests, that was broken by a previous commit changing the user t…
Browse files Browse the repository at this point in the history
…able name
  • Loading branch information
aaberg committed Apr 13, 2024
1 parent 8ec05b1 commit 36c8706
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/test/java/org/sql2o/Sql2oTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public void testExecuteAndFetchUniqueWhenUnique(){

try (Connection con = sql2o.open()) {

User user = con.createQuery("select * from User u where u.id = 1").executeAndFetchUnique(User.class);
User user = con.createQuery("select * from user_table u where u.id = 1").executeAndFetchUnique(User.class);

assertNotNull(user);
}
Expand All @@ -122,7 +122,7 @@ public void testExecuteAndFetchUniqueWhenNotUnique(){

try (Connection con = sql2o.open()) {

User user = con.createQuery("select * from User u where u.id > 0").executeAndFetchUnique(User.class);
User user = con.createQuery("select * from user_table u where u.id > 0").executeAndFetchUnique(User.class);
}
finally {
deleteUserTable();
Expand Down

0 comments on commit 36c8706

Please sign in to comment.