Skip to content

Commit

Permalink
Updated to changes in Cypher (SyntaxException)
Browse files Browse the repository at this point in the history
  • Loading branch information
craigtaverner committed Jul 5, 2011
1 parent c6c36b7 commit 3d9958d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/test/java/org/neo4j/gis/spatial/IndexProviderTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,12 @@
import java.util.Map;

import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.neo4j.cypher.commands.Query;
import org.neo4j.cypher.javacompat.CypherParser;
import org.neo4j.cypher.javacompat.ExecutionEngine;
import org.neo4j.cypher.javacompat.ExecutionResult;
import org.neo4j.cypher.SyntaxError;
import org.neo4j.cypher.SyntaxException;
import org.neo4j.gis.spatial.indexprovider.LayerNodeIndex;
import org.neo4j.graphdb.Node;
import org.neo4j.graphdb.Transaction;
Expand Down Expand Up @@ -65,7 +64,7 @@ public void testLoadIndex() throws Exception {
}

@Test
public void testNodeIndex() throws SyntaxError {
public void testNodeIndex() throws SyntaxException {
Map<String, String> config = Collections.unmodifiableMap( MapUtil.stringMap(
"provider", "spatial" ) );
IndexManager indexMan = db.index();
Expand Down

0 comments on commit 3d9958d

Please sign in to comment.