Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Commit

Permalink
test configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliaGalabut committed Jan 3, 2024
1 parent 497da84 commit c9065f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ protected ValidationErrors validateCreateApikey( UserData loggedUser, String org
private ValidationErrors validateEmailOrganizationAccess( String organizationId, String email ) {
return accounts.getUser( email )
.filter( u -> !u.belongsToOrganization( organizationId ) && u.getRole( SYSTEM ).isEmpty() )
.map( u -> error( FORBIDDEN, "User " + email+ " does not belong to organization " + organizationId ) )
.map( u -> error( FORBIDDEN, "User " + email + " does not belong to organization " + organizationId ) )
.orElse( empty() );
}

Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.5</version>
<configuration>
<reuseForks>false</reuseForks>
<forkCount>0</forkCount>
<reuseForks>true</reuseForks>
<forkCount>3</forkCount>
<argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
<trimStackTrace>false</trimStackTrace>
<testFailureIgnore>true</testFailureIgnore>
Expand Down

0 comments on commit c9065f5

Please sign in to comment.