Skip to content

Commit

Permalink
TRUNK-3944: Responded to more review comments
Browse files Browse the repository at this point in the history
(cherry picked from commit bf40931)

Conflicts:
	api/src/test/java/org/openmrs/api/ConceptServiceTest.java
  • Loading branch information
rkorytkowski committed Jun 5, 2013
1 parent 788f17b commit 171f0cf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions api/src/test/java/org/openmrs/api/ConceptServiceTest.java
Expand Up @@ -13,7 +13,9 @@
*/
package org.openmrs.api;

import static org.hamcrest.Matchers.contains;
import static org.hamcrest.Matchers.containsInAnyOrder;
import static org.hamcrest.Matchers.hasItem;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
Expand Down Expand Up @@ -1413,9 +1415,9 @@ public void saveConceptStopWord_shouldSaveConceptStopWordIntoDatabase() throws E
public void saveConceptStopWord_shouldSaveConceptStopWordAssignDefaultLocaleIsItNull() throws Exception {
ConceptStopWord conceptStopWord = new ConceptStopWord("The");
conceptService.saveConceptStopWord(conceptStopWord);
List<String> conceptStopWords = conceptService.getConceptStopWords(Locale.US);
assertEquals(1, conceptStopWords.size());

List<String> conceptStopWords = conceptService.getConceptStopWords(Context.getLocale());
assertThat(conceptStopWords, hasItem("THE"));
}

/**
Expand Down
Expand Up @@ -20,7 +20,7 @@
import org.openmrs.api.context.Context;

@StartModule( { "org/openmrs/module/include/dssmodule-1.44.omod", "org/openmrs/module/include/atd-0.51.omod" })
public class StartModuleAnnotatioTest extends BaseContextSensitiveTest {
public class StartModuleAnnotatioTest extends BaseModuleContextSensitiveTest {

@Test
public void shouldStartModules() throws Exception {
Expand Down

0 comments on commit 171f0cf

Please sign in to comment.