Skip to content

Commit 5137a93

Browse files
committed
test(discovery-v2): update IT for discovery-v2
1 parent 8222162 commit 5137a93

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/IBM.Watson.Discovery.v2/Test/Integration/DiscoveryIntegrationTests.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ public class DiscoveryIntegrationTests
3232
{
3333
private DiscoveryService service;
3434
private string versionDate = "2019-11-22";
35-
private string filepathToIngest = @"DiscoveryTestData/problem.json";
35+
private string filepathToIngest = @"DiscoveryTestData/watson_beats_jeopardy.html";
36+
private string filepathAnalyzeDoc = @"DiscoveryTestData/problem.json";
3637
private string enrichmentFile = @"DiscoveryTestData/test.csv";
3738
private string metadata = "{\"Creator\": \".NET SDK Test\",\"Subject\": \"Discovery service\"}";
3839
private string bearerToken = "";
@@ -316,7 +317,7 @@ public void TestAddDeleteDocument()
316317
[TestMethod]
317318
public void TestAnalyzeDocument()
318319
{
319-
using (FileStream fs = File.OpenRead(filepathToIngest))
320+
using (FileStream fs = File.OpenRead(filepathAnalyzeDoc))
320321
{
321322
using (MemoryStream ms = new MemoryStream())
322323
{
@@ -709,7 +710,7 @@ public void TestDeleteEnrichment()
709710
#endregion
710711

711712
#region List Projects
712-
//[TestMethod]
713+
[TestMethod]
713714
public void TestListProjects()
714715
{
715716
service.WithHeader("X-Watson-Test", "1");

0 commit comments

Comments
 (0)