Skip to content

Commit

Permalink
Update AuthProceduresTest to match kernelit
Browse files Browse the repository at this point in the history
  • Loading branch information
ragadeeshu committed Jun 29, 2017
1 parent a6499c8 commit 739adb5
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -23,6 +23,7 @@
import org.junit.Test; import org.junit.Test;
import org.junit.rules.ExpectedException; import org.junit.rules.ExpectedException;


import org.neo4j.graphdb.factory.GraphDatabaseBuilder;
import org.neo4j.graphdb.factory.GraphDatabaseSettings; import org.neo4j.graphdb.factory.GraphDatabaseSettings;
import org.neo4j.kernel.api.exceptions.ProcedureException; import org.neo4j.kernel.api.exceptions.ProcedureException;
import org.neo4j.kernel.api.security.AnonymousContext; import org.neo4j.kernel.api.security.AnonymousContext;
Expand Down Expand Up @@ -68,7 +69,7 @@ public void shouldFailWhenChangePasswordWithStaticAccessModeInDbmsMode() throws
} }


@Override @Override
protected TestGraphDatabaseBuilder configure( TestGraphDatabaseBuilder graphDatabaseBuilder ) protected GraphDatabaseBuilder configure( GraphDatabaseBuilder graphDatabaseBuilder )
{ {
graphDatabaseBuilder.setConfig( GraphDatabaseSettings.auth_enabled, "true" ); graphDatabaseBuilder.setConfig( GraphDatabaseSettings.auth_enabled, "true" );
return graphDatabaseBuilder; return graphDatabaseBuilder;
Expand Down

0 comments on commit 739adb5

Please sign in to comment.