From dc4afb1b7b6119e2495c7f3fe39218921d87fe24 Mon Sep 17 00:00:00 2001 From: Adam Retter Date: Tue, 25 Nov 2025 15:13:01 +0100 Subject: [PATCH] [bugfix] Fix a failing test introduced in 4151e8c --- .../java/org/exist/xquery/modules/cache/NonLazyCacheTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/modules/cache/src/test/java/org/exist/xquery/modules/cache/NonLazyCacheTest.java b/extensions/modules/cache/src/test/java/org/exist/xquery/modules/cache/NonLazyCacheTest.java index 84a5a7780f..c895354b53 100644 --- a/extensions/modules/cache/src/test/java/org/exist/xquery/modules/cache/NonLazyCacheTest.java +++ b/extensions/modules/cache/src/test/java/org/exist/xquery/modules/cache/NonLazyCacheTest.java @@ -97,7 +97,7 @@ public void putOnNonLazilyCreatedCacheWithoutExplicitCreation() throws Permissio fail("Should not be able to lazily create a cache when lazy creation is disabled"); } catch (final XPathException e) { final ErrorCodes.ErrorCode errorCode = e.getErrorCode(); - assertEquals("Expected lazy creation disabled error", CacheModule.CacheModuleErrorCode.LAZY_CREATION_DISABLED, errorCode); + assertEquals("Expected lazy creation disabled error", CacheModule.CacheModuleErrorCode.LAZY_CREATION_DISABLED.getErrorCode(), errorCode); } }