Skip to content

Commit

Permalink
Revert "don't use NodeFactory"
Browse files Browse the repository at this point in the history
This reverts commit e5fb047.
  • Loading branch information
cbeer committed Jun 21, 2013
1 parent 1fd4270 commit cc19f10
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -15,6 +15,7 @@
import org.junit.Test;

import com.hp.hpl.jena.graph.Node;
import com.hp.hpl.jena.graph.NodeFactory;
import com.hp.hpl.jena.update.GraphStore;

public class FedoraTransactionsIT extends AbstractResourceIT {
Expand Down Expand Up @@ -113,7 +114,7 @@ public void testCreateDoStuffAndRollbackTransaction() throws Exception {
logger.debug(graphStore.toString());

assertTrue(graphStore.toDataset().asDatasetGraph().contains(Node.ANY,
Node.createURI(txLocation + "/object-in-tx-rollback"),
NodeFactory.createURI(txLocation + "/object-in-tx-rollback"),
Node.ANY, Node.ANY));

/* fetch the created tx from the endpoint */
Expand Down Expand Up @@ -162,7 +163,7 @@ public void testCreateDoStuffAndCommitTransaction() throws Exception {
logger.debug(graphStore.toString());

assertTrue(graphStore.toDataset().asDatasetGraph().contains(Node.ANY,
Node.createURI(txLocation + "/object-in-tx-commit"),
NodeFactory.createURI(txLocation + "/object-in-tx-commit"),
Node.ANY,
Node.ANY));

Expand Down

0 comments on commit cc19f10

Please sign in to comment.