提交 ea82e5b8 编写于 作者: P panqiangbiao

fix datashare uri

Signed-off-by: Npanqiangbiao <panqiangbiao@huawei.com>
上级 e00ac18e
......@@ -93,7 +93,7 @@ function printAlbumMessage(testNum, album) {
const props = {
albumName: 'AblumInfo',
albumUri: 'dataability:///media/album/',
albumUri: 'datashare:///media/album/',
count: 3
}
function checkAlbumAttr(done, album, relativePaths) {
......
......@@ -94,7 +94,7 @@ function printAlbumMessage(testNum, album) {
const props = {
albumName: 'AblumInfo',
albumUri: 'dataability:///media/album/',
albumUri: 'datashare:///media/album/',
count: 3
}
function checkAlbumAttr(done, album, relativePaths) {
......
......@@ -52,7 +52,7 @@ export default function fileAssetUriTestCallBackTest(abilityContext){
const uri = firstObject.uri;
console.info('MediaLibraryTest : SUB_MEDIA_MEDIALIBRARY_OPENANDCLOSE_ASSET_URI_CALLBACK_005_35 uri:'
+ uri);
const serachUri = 'dataability:///media/image/' + id;
const serachUri = 'datashare:///media/image/' + id;
console.info('MediaLibraryTest : SUB_MEDIA_MEDIALIBRARY_OPENANDCLOSE_ASSET_URI_CALLBACK_005_35 serachUri:'
+ serachUri);
......
......@@ -51,7 +51,7 @@ export default function fileAssetUriTestPromiseTest(abilityContext){
const id = firstObject.id;
const uri = firstObject.uri;
console.info('MediaLibraryTest : SUB_MEDIA_MEDIALIBRARY_OPENANDCLOSE_ASSET_URI_PROMISE_005_35 uri:' + uri);
const serachUri = 'dataability:///media/image/' + id;
const serachUri = 'datashare:///media/image/' + id;
console.info('MediaLibraryTest : SUB_MEDIA_MEDIALIBRARY_OPENANDCLOSE_ASSET_URI_PROMISE_005_35 serachUri:'
+ serachUri);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册