stable

Clone or download

Read-only

Convert ArtifactRepresentationBuilder tests to PHPUnit

Part of story #12189 prevent field modification according to state No functional change expected. I convert this test to PHPUnit because on following patches I'll need to work in ArtifactRepresentationBuilder. You'll notice that 'getArtifactRepresentationCollection' is not covered at all, I'll add tests on following patches. Change-Id: I7462ccadda42ab77f867a3f20f99898947234acd

Modified Files

Name
M plugins/tracker/include/Workflow/PostAction/ReadOnly/ReadOnlyFields.php +1 −1 Go to diff View file
A plugins/tracker/phpunit/REST/Artifact/ArtifactRepresentationBuilderTest.php +445 −0 Go to diff View file
D plugins/tracker/tests/REST_Backend/Artifact/ArtifactRepresentationBuilderTest.php +0 −322 Go to diff View file