You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/test/java/com/contentstack/sdk/TestContentType.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ void testPrivateAccess() {
19
19
try {
20
20
newContentType();
21
21
} catch (IllegalAccessExceptione) {
22
-
Assertions.assertEquals("Can Not Access Private Modifier", e.getLocalizedMessage());
22
+
Assertions.assertEquals("Direct instantiation of ContentType is not allowed. Use Stack.contentType(uid) to create an instance.", e.getLocalizedMessage());
Assertions.assertEquals("API Key can not be empty", e.getLocalizedMessage(), "Set APIKey Null");
70
+
Assertions.assertEquals("Missing API key. Provide a valid key from your Contentstack stack settings and try again.", e.getLocalizedMessage(), "Set APIKey Null");
0 commit comments