Skip to content

Commit ef5fe0d

Browse files
v1.0.0 - Removed Support Of Marketplace
1 parent aee6ee7 commit ef5fe0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/contentstack/cms/stack/AssetAPITest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,10 +253,10 @@ void testAssetUploadWithMultipleParams() throws IOException {
253253
String description = "The calender has been placed to assets by ***REMOVED***";
254254
String filePath = "/Users/shailesh.mishra/Desktop/contentstack-management-java/src/test/resources/asset.png";
255255
Contentstack client = new Contentstack.Builder().build();
256-
Stack stack = client.stack("bltc490996a05bf86a6", "***REMOVED***");
256+
Stack stack = client.stack("Your api key", "authorization");
257257
Response<ResponseBody> upload = stack.asset().uploadAsset(filePath, description).execute();
258258
String[] tags = {"shailesh", "mishra", "mumbai", "india"};
259-
Response<ResponseBody> uploadMultiple = stack.asset().uploadAsset(filePath, "blt6acef5d8b2dc6d2f", "Fake Image", "Something as description", tags).execute();
259+
Response<ResponseBody> uploadMultiple = stack.asset().uploadAsset(filePath, "parent_uid", "Fake Image", "Something as description", tags).execute();
260260
if (uploadMultiple.isSuccessful()) {
261261
System.out.println(upload.body().string());
262262
}

0 commit comments

Comments
 (0)