stable

Clone or download

Read-only

Fix the log warning in docman tests REST

request #13450 Log warning in tests REST How to test: - make tests_rest_setup_72 - When the container is up => tail -f /var/opt/remi/php72/log/php-fpm/error.log in a new console tab - ./tests/rest/bin/test_suite.sh plugins/docman/tests/rest/Docman/DocmanItemsTestFilesEmbeddedTest.php => There are warnings logs - Apply the patch make tests_rest_setup_72 - When the container is up => tail -f /var/opt/remi/php72/log/php-fpm/error.log in a new console tab - ./tests/rest/bin/test_suite.sh plugins/docman/tests/rest/Docman/DocmanItemsTestFilesEmbeddedTest.php => There are no warning log anymore => If you execute the test rests there is no error Change-Id: Ia274653aab36d3945c3d82bc047d97c92fd1e46c

Modified Files

Name
M plugins/docman/tests/rest/DocmanDataBuilder.php +1 −2 Go to diff View file
A plugins/docman/tests/rest/_fixtures/docmanFile/file.txt +1 −0 Go to diff View file