Skip to content

Commit ccf1ab2

Browse files
authored
Merge pull request #144 from evolvedbinary/7.x.x/hotfix/repair-failing-test
[7.x.x] Repair failing test
2 parents e8c00e9 + 34e75ac commit ccf1ab2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/modules/cache/src/test/java/org/exist/xquery/modules/cache/NonLazyCacheTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public void putOnNonLazilyCreatedCacheWithoutExplicitCreation() throws Permissio
9797
fail("Should not be able to lazily create a cache when lazy creation is disabled");
9898
} catch (final XPathException e) {
9999
final ErrorCodes.ErrorCode errorCode = e.getErrorCode();
100-
assertEquals("Expected lazy creation disabled error", CacheModule.CacheModuleErrorCode.LAZY_CREATION_DISABLED, errorCode);
100+
assertEquals("Expected lazy creation disabled error", CacheModule.CacheModuleErrorCode.LAZY_CREATION_DISABLED.getErrorCode(), errorCode);
101101
}
102102
}
103103

0 commit comments

Comments
 (0)