fixed test

pull/347/head
Nitin 10 years ago
parent 8eb6b76534
commit 0dbdc47f05

@ -225,7 +225,7 @@ public class ShutdownTest
ds.getConnection(); ds.getConnection();
} }
catch (SQLException e) { catch (SQLException e) {
Assert.assertTrue(e.getMessage().contains("has been shutdown")); Assert.assertTrue(e.getMessage().contains("has been closed."));
} }
} }

@ -184,7 +184,7 @@ public class TestValidation
Assert.fail(); Assert.fail();
} }
catch (IllegalStateException ise) { catch (IllegalStateException ise) {
Assert.assertTrue(ise.getMessage().contains("cannot use")); Assert.assertTrue(ise.getMessage().contains("together"));
} }
} }

Loading…
Cancel
Save