[common][download][TSIX-7229,TSIX-7230,TSIX-7251,TSIX-7277, Update URL_SMALL in cases... 83/246683/2
authorwei625.zhang <wei625.zhang@samsung.com>
Tue, 3 Nov 2020 06:28:09 +0000 (14:28 +0800)
committerWei Zhang <wei625.zhang@samsung.com>
Tue, 3 Nov 2020 07:27:52 +0000 (07:27 +0000)
Change-Id: I6ffb0e14fedd00ca6a50f0f284dae1a7bab1c2d8
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";