Skip to content

Commit 0040b02

Browse files
authored
Update ImageTest.java
1 parent 743229b commit 0040b02

File tree

1 file changed

+1
-2
lines changed
  • QCloudCosXml/cosxml/src/androidTest/java/com/tencent/cos/xml/image

1 file changed

+1
-2
lines changed

QCloudCosXml/cosxml/src/androidTest/java/com/tencent/cos/xml/image/ImageTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,8 @@ public void onFail(CosXmlRequest request, CosXmlClientException exception, CosXm
128128

129129
@Test public void testThumbnail() {
130130

131-
final TestLocker testLocker = new TestLocker(1);
132131
GetObjectRequest getObjectRequest = new GetObjectRequest(TestConst.PERSIST_BUCKET, TestConst.PERSIST_BUCKET_PIC_PATH,
133-
Environment.getExternalStorageDirectory().getAbsolutePath(), TestUtils.localPath(localImageName));
132+
TestUtils.localParentPath());
134133

135134
Map<String, String> paras = new HashMap<>();
136135
paras.put("imageMogr2/thumbnail/!50p", null);

0 commit comments

Comments
 (0)