Skip to content

Commit

Permalink
reverting temporary testing changes in previous 2 commits
Browse files Browse the repository at this point in the history
  • Loading branch information
mogoodrich committed Apr 26, 2013
1 parent 616f552 commit 7219493
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions api/src/main/java/org/openmrs/api/UserService.java
Expand Up @@ -641,5 +641,6 @@ public List<User> getUsers(String name, List<Role> roles, boolean includeRetired
* @param hasPrivilege <code>true</code> if the authenticated user has the required privilege or if it is a proxy privilege
* @since 1.8.4, 1.9.1, 1.10
*/
@Transactional(readOnly = true)
public void notifyPrivilegeListeners(User user, String privilege, boolean hasPrivilege);
}
2 changes: 0 additions & 2 deletions api/src/main/java/org/openmrs/api/impl/UserServiceImpl.java
Expand Up @@ -31,7 +31,6 @@
import org.openmrs.util.PrivilegeConstants;
import org.openmrs.util.RoleConstants;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

import java.util.ArrayList;
import java.util.Collection;
Expand Down Expand Up @@ -629,7 +628,6 @@ public List<User> getUsers(String name, List<Role> roles, boolean includeRetired
* @see UserService#notifyPrivilegeListeners(User, String, boolean)
*/
@Override
@Transactional(readOnly = true)
public void notifyPrivilegeListeners(User user, String privilege, boolean hasPrivilege) {
if (privilegeListeners != null) {
for (PrivilegeListener privilegeListener : privilegeListeners) {
Expand Down
Expand Up @@ -14,7 +14,6 @@
package org.openmrs.web.controller;

import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.openmrs.Concept;
import org.openmrs.ConceptComplex;
Expand Down Expand Up @@ -970,7 +969,6 @@ public void onSubmit_shouldRemoveAConceptMapFromAnExistingConcept() throws Excep
* @verifies not save changes if there are validation errors
*/
@Test
@Ignore
@NotTransactional
public void onSubmit_shouldNotSaveChangesIfThereAreValidationErrors() throws Exception {
Integer conceptId = 792;
Expand Down

0 comments on commit 7219493

Please sign in to comment.