[BACKLOG-194] -- Added unit tests for RepositoryPublishResource.