Skip to content

Commit a49f691

Browse files
committedNov 26, 2013
Adding an assert for module version after update - TRUNK-4134
1 parent 09e6105 commit a49f691

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎web/src/test/java/org/openmrs/web/test/WebModuleListControllerTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ public void shouldUpdateModule() throws Exception {
128128

129129
assertTrue(request.getSession().getAttribute(WebConstants.OPENMRS_MSG_ATTR) == null);
130130
assertTrue(request.getSession().getAttribute(WebConstants.OPENMRS_ERROR_ATTR) == null);
131+
132+
assertTrue(ModuleFactory.getModuleById(MODULE3_ID).getVersion().equals("2.0-SNAPSHOT"));
131133
}
132134

133135
@Test

0 commit comments

Comments
 (0)
Please sign in to comment.