From 17e6663c91b3866d706ffb01e2b91fdab5885704 Mon Sep 17 00:00:00 2001 From: Cezar Andrei <675678+cezarfx@users.noreply.github.com> Date: Wed, 22 May 2024 16:02:36 -0500 Subject: [PATCH] Fix test to work with simcloud. (#52) --- .../com/oracle/nosql/spring/data/test/TestApplication.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/com/oracle/nosql/spring/data/test/TestApplication.java b/src/test/java/com/oracle/nosql/spring/data/test/TestApplication.java index be81996..dc747e5 100644 --- a/src/test/java/com/oracle/nosql/spring/data/test/TestApplication.java +++ b/src/test/java/com/oracle/nosql/spring/data/test/TestApplication.java @@ -696,8 +696,8 @@ public void testPrepStmtCacheRemove() throws ClassNotFoundException { Assert.assertEquals(0, customerList.size()); Assert.fail("Should throw a 'Table not found' exception"); } catch (Exception e) { - Assert.assertEquals("Table not found: customer", - e.getCause().getMessage()); + Assert.assertTrue( + e.getCause().getMessage().contains("Table not found")); } NosqlEntityInformation customerEntInfo =