stable

Clone or download

Read-only

Convert some docman tests to Mockery

Partially automated with simpletest2mockery + manual fixes. There are now 1845 simpletest tests running on PHP7 (+179). Part of story #11368 Convert docman tests to mockery Change-Id: Ia603344c33e2ef912986dc227e064f8d5216f5fe

Modified Files

Name
M plugins/docman/bin/DocmanImport/Trees.class.php +4 −4 Go to diff View file
M plugins/docman/include/Docman_MetadataListOfValuesElementDao.class.php +3 −3 Go to diff View file
M plugins/docman/tests/FilterFactoryTest.php +10 −16 Go to diff View file
M plugins/docman/tests/MetadataListOfValuesElementDaoTest.php +2 −2 Go to diff View file
M plugins/docman/tests/MetadataListOfValuesElementFactoryTest.php +37 −47 Go to diff View file
M plugins/docman/tests/PermissionsManagerPerfTest.php +53 −74 Go to diff View file
M plugins/docman/tests/SqlFilterChoiceTest.php +6 −8 Go to diff View file
M plugins/docman/tests/TokenTest.php +65 −81 Go to diff View file
M plugins/docman/tests/bin/DocmanImport/DateParserTest.php +1 −3 Go to diff View file
M plugins/docman/tests/bin/DocmanImport/TreesTest.php +1 −4 Go to diff View file
M plugins/docman/tests/php7compatibletests.list +3 −0 Go to diff View file
M tests/php7compatibletests.list +1 −0 Go to diff View file
A tests/simpletest/MockeryExamplesTest.php +134 −0 Go to diff View file