diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-10-02 10:16:21 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-10-02 10:51:51 +0200 |
commit | 4b3a5a257f0861db23b8d97836afdf398b3fef9a (patch) | |
tree | 0b0274cae73c0b90c604c705cb547c6d50d0ff17 /apps/files_versions | |
parent | 3dec30d0e09128002f24f58b7ea042c42defce31 (diff) | |
download | nextcloud-server-4b3a5a257f0861db23b8d97836afdf398b3fef9a.tar.gz nextcloud-server-4b3a5a257f0861db23b8d97836afdf398b3fef9a.zip |
Fix moment.js "a few seconds ago" with "seconds ago"
* fixes #18627
Diffstat (limited to 'apps/files_versions')
-rw-r--r-- | apps/files_versions/tests/js/versionstabviewSpec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/tests/js/versionstabviewSpec.js b/apps/files_versions/tests/js/versionstabviewSpec.js index 4435f38ef7e..306dd66be2a 100644 --- a/apps/files_versions/tests/js/versionstabviewSpec.js +++ b/apps/files_versions/tests/js/versionstabviewSpec.js @@ -76,7 +76,7 @@ describe('OCA.Versions.VersionsTabView', function() { expect($versions.length).toEqual(2); var $item = $versions.eq(0); expect($item.find('.downloadVersion').attr('href')).toEqual(version1.getDownloadUrl()); - expect($item.find('.versiondate').text()).toEqual('a few seconds ago'); + expect($item.find('.versiondate').text()).toEqual('seconds ago'); expect($item.find('.revertVersion').length).toEqual(1); expect($item.find('.preview').attr('src')).toEqual(version1.getPreviewUrl()); |