Skip to content

Commit 8a7b329

Browse files
Fix unit test in PowerBI connector. (#800)
Signed-off-by: Yury-Fridlyand <[email protected]>
1 parent 4e40ed2 commit 8a7b329

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bi-connectors/PowerBIConnector/src/OpenSearchProject.query.pq

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@ shared MyExtension.UnitTest =
77
Host = "localhost",
88
Port = 9200,
99
UseSSL = false,
10+
HostnameVerification = false,
1011

1112
facts =
1213
{
1314
Fact("Connection Test",
1415
7,
1516
let
16-
Source = OpenSearch.Contents(Host, Port, UseSSL),
17+
Source = OpenSearchProject.Contents(Host, Port, UseSSL, HostnameVerification),
1718
no_of_columns = Table.ColumnCount(Source)
1819
in
1920
no_of_columns
@@ -22,7 +23,7 @@ shared MyExtension.UnitTest =
2223
#table(type table [bool0 = logical],
2324
{ {null}, {false}, {true} }),
2425
let
25-
Source = OpenSearch.Contents(Host, Port, UseSSL),
26+
Source = OpenSearchProject.Contents(Host, Port, UseSSL, HostnameVerification),
2627
calcs_null_null = Source{[Item="calcs",Schema=null,Catalog=null]}[Data],
2728
grouped = Table.Group(calcs_null_null, {"bool0"}, {})
2829
in

0 commit comments

Comments
 (0)