diff --git a/pom.xml b/pom.xml index 41ea6079..4c79771b 100644 --- a/pom.xml +++ b/pom.xml @@ -20,11 +20,11 @@ 3.3.1 3.4.1 3.0.0 - 3.1.11 + 3.1.12 3.0.0 - 5.1.0 + 5.3.2 0.8.5 - 1.18.36 + 1.18.42 5.11.4 5.8.0-M1 2.8.8 @@ -33,17 +33,14 @@ 1.5 3.8.1 1.6.13 - 20250107 + 20250517 0.8.11 2.5.3 1.2.15 - - org.sonatype.oss - oss-parent - 7 - + + https://github.com/contentstack/contentstack-java @@ -184,12 +181,12 @@ com.fasterxml.jackson.core jackson-databind - 2.19.2 + 2.21.0 com.slack.api bolt - 1.45.3 + 1.46.0 org.jetbrains @@ -199,7 +196,7 @@ com.squareup.okhttp3 okhttp - 5.1.0 + 5.3.2 org.slf4j diff --git a/src/test/java/com/contentstack/sdk/TestEntryModel.java b/src/test/java/com/contentstack/sdk/TestEntryModel.java index cbf9fbe2..f0a33237 100644 --- a/src/test/java/com/contentstack/sdk/TestEntryModel.java +++ b/src/test/java/com/contentstack/sdk/TestEntryModel.java @@ -254,8 +254,8 @@ void testConstructorWithPublishDetails() { JSONObject publishDetails = new JSONObject(); publishDetails.put("environment", "production"); publishDetails.put("time", "2024-01-01T00:00:00.000Z"); - // file deepcode ignore NoHardcodedCredentials/test: - publishDetails.put("user", "user123"); + // Test fixture: user is a non-secret publish-detail field (not a credential) + publishDetails.put("user", "test_publisher_uid"); JSONObject json = new JSONObject(); json.put("uid", "published_entry"); @@ -267,7 +267,7 @@ void testConstructorWithPublishDetails() { assertNotNull(model.publishDetails); assertEquals("production", model.environment); assertEquals("2024-01-01T00:00:00.000Z", model.time); - assertEquals("user123", model.user); + assertEquals("test_publisher_uid", model.user); // Verify metadata is populated assertNotNull(model.metadata);