You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently had a test failure caused by switching from $file = entity_create('file') to $file = new File(). These two calls should be equivalent, but it appears that the FileStorageController is doing some extra work populating the filename and filemime properties. This should be moved to the File::__construct() method so that it is called using either method.
The text was updated successfully, but these errors were encountered:
I recently had a test failure caused by switching from
$file = entity_create('file')
to$file = new File()
. These two calls should be equivalent, but it appears that the FileStorageController is doing some extra work populating thefilename
andfilemime
properties. This should be moved to theFile::__construct()
method so that it is called using either method.The text was updated successfully, but these errors were encountered: