mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Fixed tests for ImportManager audio types
refs c5a4ee89c9
- as of the referenced commit, the supported list of mime types has been
updated
This commit is contained in:
parent
6c9e046b4b
commit
4c2ff0539d
1 changed files with 2 additions and 1 deletions
|
@ -55,7 +55,7 @@ describe('Importer', function () {
|
|||
});
|
||||
|
||||
it('gets the correct types', function () {
|
||||
ImportManager.getContentTypes().should.be.instanceof(Array).and.have.lengthOf(22);
|
||||
ImportManager.getContentTypes().should.be.instanceof(Array).and.have.lengthOf(23);
|
||||
ImportManager.getContentTypes().should.containEql('image/jpeg');
|
||||
ImportManager.getContentTypes().should.containEql('image/png');
|
||||
ImportManager.getContentTypes().should.containEql('image/gif');
|
||||
|
@ -67,6 +67,7 @@ describe('Importer', function () {
|
|||
ImportManager.getContentTypes().should.containEql('video/mp4');
|
||||
ImportManager.getContentTypes().should.containEql('video/webm');
|
||||
ImportManager.getContentTypes().should.containEql('video/ogg');
|
||||
ImportManager.getContentTypes().should.containEql('audio/mp4');
|
||||
ImportManager.getContentTypes().should.containEql('audio/mpeg');
|
||||
ImportManager.getContentTypes().should.containEql('audio/vnd.wav');
|
||||
ImportManager.getContentTypes().should.containEql('audio/wave');
|
||||
|
|
Loading…
Add table
Reference in a new issue