Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295855

Expand FileManagedTestBase with some of FileFieldTestBase

$
0
0

FileManagedTestBase is supposed to be used for testing managed files. However, quite a number of important functions for testing managed files are only present in FileFieldTestBase:

  • getLastFileId()
  • assertFileExists()
  • assertFileEntryExists()
  • assertFileNotExists()
  • assertFileEntryNotExists()
  • assertFileIsPermanent()
  • and the missing: assertFileIsTemporary().

To be more useful in Core as well as in contrib tests, these functions should be present on FileManagedTestBase, which may then be extended by FileFieldTestBase for some more field-related functionality.


Viewing all articles
Browse latest Browse all 295855

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>