Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Migrate all relationship controller tests [DHIS2-18883] #19874

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

enricocolasante
Copy link
Contributor

@enricocolasante enricocolasante commented Feb 6, 2025

Finishing migrate and fix commented tests in RelationshipsExportControllerTest.
trackerDataView is working as expected and all related tests are migrated and they are passing.

Next steps

  • Remove RelationshipStore interface.
  • Pass field params to RelationshipService in order to only retrieve from the DB what is needed.
  • Check how we should deal with deleted entities in RelationshipService.

@enricocolasante enricocolasante marked this pull request as ready for review February 7, 2025 11:06
@Test
void getRelationshipsByTrackedEntityWithProgramOwners() {
@Test
void shouldGetRelationshipsByTrackedEntityWithAttributes() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a test using the same request without tracker data view to show what influence it has?

Copy link

sonarqubecloud bot commented Feb 7, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants