core icon indicating copy to clipboard operation
core copied to clipboard

fix tests where empty files are created

Open dsilvam opened this issue 10 years ago • 2 comments

Insert some bytes to the files created in these test to not fail the emptyFile validation:

  • com.dotmarketing.portlets.contentlet.business.ContentletAPITest.newFileAssetLanguageDifferentThanDefault
  • com.dotmarketing.portlets.contentlet.business.ContentletAPITest.newVersionFileAssetLanguageDifferentThanDefault
  • com.dotcms.rest.ContentResourceTest.uriFileImageFields com.dotmarketing.portlets.folder.business.FolderAPITest.copy
  • com.dotmarketing.portlets.contentlet.business.FileAssetTest.fileAssetNonExistingLanguageDefaultFilesFalse
  • com.dotmarketing.portlets.contentlet.business.FileAssetTest.fileAssetLanguageDifferentThanDefault
  • com.dotmarketing.portlets.contentlet.business.FileAssetTest.fileAssetNonExistingLanguageDefaultFilesTrue

dsilvam avatar Jul 11 '16 18:07 dsilvam

tested uploading empty files in english and spanish, and other assorted files, editing files, creating folders - finder is working

DeanGonzalez avatar Jul 13 '16 22:07 DeanGonzalez

This test refers to #9334

shaydotcms avatar Jul 14 '16 13:07 shaydotcms