Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
youdonghai committed Dec 13, 2023
1 parent 35f80c4 commit 32997b4
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

package com.antgroup.openspg.reasoner.catalog.impl;

import com.antgroup.openspg.reasoner.lube.catalog.SemanticPropertyGraph;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
Expand All @@ -25,11 +26,12 @@ public class OpenKgCatalogTest {

@Test
public void testGet() {
long projectId = 1000025L;
long projectId = 2L;

OpenKgCatalog catalog = new OpenKgCatalog(projectId, connInfo, null);
catalog.init();
SemanticPropertyGraph graph = catalog.getKnowledgeGraph();

Assert.assertNotNull(catalog.getKnowledgeGraph());
Assert.assertNotNull(graph);
}
}

0 comments on commit 32997b4

Please sign in to comment.