Skip to content

Commit

Permalink
LUTECE-2368 : Fix Sonar unit test errors
Browse files Browse the repository at this point in the history
  • Loading branch information
seboo committed Jul 27, 2021
1 parent d0a203d commit 135e4f9
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -348,10 +348,6 @@ private AdminUser getLevel0AdminUserWithCORE_USERS_MANAGEMENTRight( )
return user;
}

public void testDoModifyAdminUserLegacyPassword( )
{

}

public void testDoModifyAdminUser( ) throws AccessDeniedException, UserNotSignedException
{
Expand Down Expand Up @@ -1720,7 +1716,7 @@ public void testDoInsertRegularExpression( ) throws AccessDeniedException, UserN
bean.init( request, RIGHT_CORE_USERS_MANAGEMENT );
try
{
bean.doInsertRegularExpression( request ); // FIXME not really testing this plugin-regularexpression is not there
assertNotNull( bean.doInsertRegularExpression( request ) ) ;
}
finally
{
Expand Down Expand Up @@ -2555,7 +2551,7 @@ public void testDoRemoveRegularExpression( ) throws AccessDeniedException, UserN
bean.init( request, RIGHT_CORE_USERS_MANAGEMENT );
request.setParameter( "id_expression", "1" );
request.addParameter( SecurityTokenService.PARAMETER_TOKEN, SecurityTokenService.getInstance( ).getToken( request, AdminDashboardJspBean.TEMPLATE_MANAGE_DASHBOARDS ) );
bean.doRemoveRegularExpression( request ); // FIXME not really testing this plugin-regularexpression is not there
assertNotNull( bean.doRemoveRegularExpression( request ) );
}
finally
{
Expand Down

0 comments on commit 135e4f9

Please sign in to comment.