stable

Clone or download

Read-only

Refactoring json query verification for GET /projects

Part of request #12464 Update project rest route to get time tracked project Extract json query verification on a new class and test it with phpunit First step to let Timetracking plugin check the query. Change-Id: I7c6c0d0766bbdc3c3b343395dfec80e6fc654b85

Modified Files

Name
A src/common/project/REST/v1/GetProjectsQueryChecker.php +76 −0 Go to diff View file
M src/common/project/REST/v1/ProjectResource.class.php +17 −38 Go to diff View file
A tests/phpunit/common/Project/REST/GetProjectsQueryCheckerTest.php +100 −0 Go to diff View file