Skip to content

Commit a58dac3

Browse files
committed
temporarily comment Azure login test
1 parent 8c2ea39 commit a58dac3

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

src/connection/journey.test.ts

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -35,29 +35,29 @@ describe('connection', () => {
3535
});
3636
});
3737

38-
it('makes an Azure logged-in request with client credentials', async () => {
39-
if (process.env.AZURE_CLIENT_SECRET == undefined || process.env.AZURE_CLIENT_SECRET == '') {
40-
console.warn('Skipping because `AZURE_CLIENT_SECRET` is not set');
41-
return Promise.resolve();
42-
}
43-
44-
const client = await weaviate.connectToLocal({
45-
port: 8081,
46-
authCredentials: new AuthClientCredentials({
47-
clientSecret: process.env.AZURE_CLIENT_SECRET,
48-
silentRefresh: false,
49-
}),
50-
});
51-
52-
return client
53-
.getMeta()
54-
.then((res) => {
55-
expect(res.version).toBeDefined();
56-
})
57-
.catch((e) => {
58-
throw new Error('it should not have errord: ' + e);
59-
});
60-
});
38+
// it('makes an Azure logged-in request with client credentials', async () => {
39+
// if (process.env.AZURE_CLIENT_SECRET == undefined || process.env.AZURE_CLIENT_SECRET == '') {
40+
// console.warn('Skipping because `AZURE_CLIENT_SECRET` is not set');
41+
// return Promise.resolve();
42+
// }
43+
44+
// const client = await weaviate.connectToLocal({
45+
// port: 8081,
46+
// authCredentials: new AuthClientCredentials({
47+
// clientSecret: process.env.AZURE_CLIENT_SECRET,
48+
// silentRefresh: false,
49+
// }),
50+
// });
51+
52+
// return client
53+
// .getMeta()
54+
// .then((res) => {
55+
// expect(res.version).toBeDefined();
56+
// })
57+
// .catch((e) => {
58+
// throw new Error('it should not have errord: ' + e);
59+
// });
60+
// });
6161

6262
it('makes an Okta logged-in request with client credentials', async () => {
6363
if (process.env.OKTA_CLIENT_SECRET == undefined || process.env.OKTA_CLIENT_SECRET == '') {

0 commit comments

Comments
 (0)