fix js test
This commit is contained in:
parent
b9dfc1674c
commit
05b6850a9e
|
@ -1792,7 +1792,8 @@ describe('OCA.Files.FileList tests', function() {
|
||||||
type: 'file',
|
type: 'file',
|
||||||
size: 12,
|
size: 12,
|
||||||
etag: 'abc',
|
etag: 'abc',
|
||||||
permissions: OC.PERMISSION_ALL
|
permissions: OC.PERMISSION_ALL,
|
||||||
|
hasPreview: true
|
||||||
});
|
});
|
||||||
expect(files[1]).toEqual({
|
expect(files[1]).toEqual({
|
||||||
id: 3,
|
id: 3,
|
||||||
|
@ -1802,7 +1803,8 @@ describe('OCA.Files.FileList tests', function() {
|
||||||
mtime: 234560000,
|
mtime: 234560000,
|
||||||
size: 58009,
|
size: 58009,
|
||||||
etag: '123',
|
etag: '123',
|
||||||
permissions: OC.PERMISSION_ALL
|
permissions: OC.PERMISSION_ALL,
|
||||||
|
hasPreview: true
|
||||||
});
|
});
|
||||||
expect(files[2]).toEqual({
|
expect(files[2]).toEqual({
|
||||||
id: 4,
|
id: 4,
|
||||||
|
@ -1812,7 +1814,8 @@ describe('OCA.Files.FileList tests', function() {
|
||||||
mtime: 134560000,
|
mtime: 134560000,
|
||||||
size: 250,
|
size: 250,
|
||||||
etag: '456',
|
etag: '456',
|
||||||
permissions: OC.PERMISSION_ALL
|
permissions: OC.PERMISSION_ALL,
|
||||||
|
hasPreview: true
|
||||||
});
|
});
|
||||||
expect(files[0].id).toEqual(1);
|
expect(files[0].id).toEqual(1);
|
||||||
expect(files[0].name).toEqual('One.txt');
|
expect(files[0].name).toEqual('One.txt');
|
||||||
|
@ -1833,7 +1836,8 @@ describe('OCA.Files.FileList tests', function() {
|
||||||
type: 'file',
|
type: 'file',
|
||||||
size: 12,
|
size: 12,
|
||||||
etag: 'abc',
|
etag: 'abc',
|
||||||
permissions: OC.PERMISSION_ALL
|
permissions: OC.PERMISSION_ALL,
|
||||||
|
hasPreview: true
|
||||||
});
|
});
|
||||||
expect(files[1]).toEqual({
|
expect(files[1]).toEqual({
|
||||||
id: 4,
|
id: 4,
|
||||||
|
@ -1843,7 +1847,8 @@ describe('OCA.Files.FileList tests', function() {
|
||||||
mtime: 134560000,
|
mtime: 134560000,
|
||||||
size: 250,
|
size: 250,
|
||||||
etag: '456',
|
etag: '456',
|
||||||
permissions: OC.PERMISSION_ALL
|
permissions: OC.PERMISSION_ALL,
|
||||||
|
hasPreview: true
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
describe('Download', function() {
|
describe('Download', function() {
|
||||||
|
|
Loading…
Reference in New Issue