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

TRUNK-3203 Add JUnit test for getting by patients for method HibernatePa... #226

Closed
wants to merge 1 commit into from

Conversation

akolodziejski
Copy link
Contributor

TRUNK-3203 Add JUnit test for getting by patients for method HibernatePa...

@@ -272,4 +273,38 @@ public void getPatientIdentifiers_shouldLimitByResultsByLocation() throws Except
Assert.assertEquals("12345K", patientIdentifiers.get(0).getIdentifier());
}

@Test
public void getPatientIdentifiers_shouldLimitByResultsByPatientWithId2() throws Exception {
Copy link
Member

Choose a reason for hiding this comment

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

change shouldLimitResultsBy, try using the test generator plugin

…ePatientDAO.getPatientIdentifiers

TRUNK-3203 Add JUnit test for getting by patients for method HibernatePatientDAO.getPatientIdentifiers review fixes

TRUNK-3203 Add JUnit test for getting by patients for method HibernatePatientDAO.getPatientIdentifiers review fixes

TRUNK-3203 Add JUnit test for getting by patients for method HibernatePatientDAO.getPatientIdentifiers review fixes

TRUNK-3203 Add JUnit test for getting by patients for method HibernatePatientDAO.getPatientIdentifiers review fixes

Add JUnit test for getting by patients for method HibernatePatientDAO.getPatientIdentifiers
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.internal.matchers.TypeSafeMatcher;
Copy link
Member

Choose a reason for hiding this comment

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

You should have used a class from org.hamcrest

@rkorytkowski
Copy link
Member

Made small suggested changes and merged with rebase in 79d94c3

Thanks Arek!

RandilaP pushed a commit to RandilaP/openmrs-core that referenced this pull request Jul 31, 2023
openmrs#226)

* Added extension slot for external links in the app-menu

* Removed the extension slot and added the code for fetching the links from the configuration.

* Added visiblity option for external links

* Added pre-push test back
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants