diff --git a/core/src/test/java/org/sql2o/Sql2oTest.java b/core/src/test/java/org/sql2o/Sql2oTest.java index 9d1c43a8..61893005 100644 --- a/core/src/test/java/org/sql2o/Sql2oTest.java +++ b/core/src/test/java/org/sql2o/Sql2oTest.java @@ -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); } @@ -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();