stable

Clone or download

Read-only

chore: Drop Mockery usage in Docman/ApprovalTable tests

Part of request #21775 Favor PHPUnit mock system over Mockery - part 2 2/2 Note: Docman_ApprovalTableFactoriesFactory::getFromItem is no longer a static method because PHPUnit mock system cannot mock static method *No functional changes expected* Change-Id: Ie97c900de4895c0275de2588cb67459179f05df0

Modified Files

Name
M plugins/docman/include/ApprovalTable/FactoriesFactory.class.php +2 −2 Go to diff View file
M plugins/docman/include/ApprovalTable/Factory.class.php +1 −1 Go to diff View file
M plugins/docman/include/Docman_Actions.class.php +3 −3 Go to diff View file
M plugins/docman/include/Docman_Controller.class.php +2 −2 Go to diff View file
M plugins/docman/include/view/Docman_View_ItemDetailsSectionApproval.class.php +1 −1 Go to diff View file
M plugins/docman/include/view/Docman_View_ItemDetailsSectionApprovalCreate.class.php +1 −1 Go to diff View file
M plugins/docman/include/view/Docman_View_ItemDetailsSectionNewVersion.class.php +1 −1 Go to diff View file
M plugins/docman/tests/unit/ApprovalTable/ApprovalTableRetrieverTest.php +92 −141 Go to diff View file