[common][download][Update URL_SMALL in cases for modification of resource] 95/246695/1
authorwei625.zhang <wei625.zhang@samsung.com>
Tue, 3 Nov 2020 07:17:41 +0000 (15:17 +0800)
committerwei625.zhang <wei625.zhang@samsung.com>
Tue, 3 Nov 2020 07:17:41 +0000 (15:17 +0800)
Change-Id: Id4786b856fbfd4cf0a94e562ca0f8b99d5b41fc0
Signed-off-by: wei625.zhang <wei625.zhang@samsung.com>
common/tct-download-tizen-tests/download/DownloadManager_getMIMEType.html
common/tct-download-tizen-tests/download/support/download_common.js

index 9047b1c283c5fe09605fa073809b4af141f62664..33361bfc41cc4c57900130a9230438a37baaf0e0 100755 (executable)
@@ -63,7 +63,7 @@ t.step(function () {
             assert_unreached("oncanceled should not be reached");
         }),
         oncompleted: t.step_func(function (id, fullPath) {
-            expectedMimeType = "image/png";
+            expectedMimeType = "text/plain";
             mimeType = tizen.download.getMIMEType(downloadId);
             assert_equals(mimeType, expectedMimeType, "different MIMEType value from expected");
             t.done();
index 471b6ccc6038f1075d1b18631b3471fa5865e58a..1d006137835a390ef5a7ff9ad9890a6288b372ff 100755 (executable)
@@ -26,5 +26,5 @@ var NOT_SUPPORTED_ERR = 'NotSupportedError';
 var NOT_FOUND_ERR = 'NotFoundError';
 
 var URL_LARGE = "http://download.tizen.org/tct/2.4/WEB_TCT/2.4_r1/web-tct_2.4_r1.zip";
-var URL_SMALL = "http://download.tizen.org/tct/tct-download-tizen-tests-image-lq.png";
+var URL_SMALL = "http://download.tizen.org/tools/README.txt";
 var URL_BROKEN = "http://download.tizen.org/tct/not_existing_file";