Skip to content

Commit

Permalink
Fix packaging after renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
davidegrohmann committed Oct 20, 2016
1 parent 0e6c0bf commit 07b2f4c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Expand Up @@ -44,7 +44,7 @@

import static java.lang.String.format;
import static java.nio.file.Files.exists;
import static org.neo4j.coreedge.core.EnterpriseCoreEditionModule.CLUSTER_STATE_DIRECTORY_NAME;
import static org.neo4j.causalclustering.core.EnterpriseCoreEditionModule.CLUSTER_STATE_DIRECTORY_NAME;

public class UnbindFromClusterCommand implements AdminCommand
{
Expand Down
Expand Up @@ -45,6 +45,7 @@
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat;
import static org.mockito.Matchers.contains;
import static org.mockito.Matchers.startsWith;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.neo4j.kernel.internal.StoreLocker.STORE_LOCK_FILENAME;
Expand Down Expand Up @@ -124,8 +125,7 @@ public void shouldFailToUnbindLiveDatabase() throws Exception
catch ( CommandFailed e )
{
// then
assertThat( e.getMessage(), containsString(
"Database is currently locked. Please shutdown Neo4j." ) );
assertThat( e.getMessage(), containsString( "Database is currently locked. Please shutdown Neo4j." ) );
}
finally
{
Expand Down Expand Up @@ -172,7 +172,7 @@ public void shouldReportWhenClusterStateDirectoryIsNotPresent() throws Exception
// when
command.execute( databaseName( "graph.db" ) );

verify(outsideWorld).stdOutLine( contains( "No cluster state found in" ) );
verify( outsideWorld ).stdErrLine( startsWith( "No cluster state found in" ) );
}

private String[] databaseName( String databaseName )
Expand Down

0 comments on commit 07b2f4c

Please sign in to comment.