| Index: ui/file_manager/file_manager/background/js/volume_manager_unittest.js
|
| diff --git a/ui/file_manager/file_manager/background/js/volume_manager_unittest.js b/ui/file_manager/file_manager/background/js/volume_manager_unittest.js
|
| index d2d4c4f9bafa40f065c599a2780f06534d0f5331..9f033fc8d2c9868a5b1369cec988f0bfe7bfb84d 100644
|
| --- a/ui/file_manager/file_manager/background/js/volume_manager_unittest.js
|
| +++ b/ui/file_manager/file_manager/background/js/volume_manager_unittest.js
|
| @@ -91,7 +91,9 @@ function setUp() {
|
| volumeLabel: '',
|
| volumeType: VolumeManagerCommon.VolumeType.DOWNLOADS,
|
| isReadOnly: false,
|
| - profile: getMockProfile()
|
| + profile: getMockProfile(),
|
| + configurable: false,
|
| + source: VolumeManagerCommon.Source.SYSTEM
|
| },
|
| {
|
| volumeId: 'drive:drive-foobar%40chromium.org-hash',
|
| @@ -99,6 +101,8 @@ function setUp() {
|
| volumeType: VolumeManagerCommon.VolumeType.DRIVE,
|
| isReadOnly: false,
|
| profile: getMockProfile()
|
| + configurable: false,
|
| + source: VolumeManagerCommon.Source.NETWORK
|
| }
|
| ];
|
| chrome.fileManagerPrivate.fileSystemMap_ = {
|
| @@ -185,7 +189,9 @@ function testMountArchiveAndUnmount(callback) {
|
| volumeType: VolumeManagerCommon.VolumeType.ARCHIVE,
|
| isReadOnly: true,
|
| sourcePath: mountSourcePath,
|
| - profile: getMockProfile()
|
| + profile: getMockProfile(),
|
| + configurable: false,
|
| + source: VolumeManagerCommon.Source.FILE
|
| }
|
| });
|
| }).then(function(result) {
|
| @@ -255,7 +261,8 @@ function testVolumeInfoListWhenReady(callback) {
|
| /* label */ null,
|
| /* extensionid */ null,
|
| /* hasMedia */ false,
|
| - /* configurable */ false);
|
| + /* configurable */ false,
|
| + /* source */ VolumeManagerCommon.Source.FILE);
|
| list.add(volumeInfo);
|
| var promiseAfterAdd = list.whenVolumeInfoReady('volumeId');
|
| reportPromise(Promise.all([promiseBeforeAdd, promiseAfterAdd]).then(
|
|
|