@@ -1813,7 +1813,7 @@ describe('ZeebeAPI', function() {
1813
1813
} ) ;
1814
1814
1815
1815
1816
- it ( 'should set `useTLS ` to true for https endpoint' , async function ( ) {
1816
+ it ( 'should set `CAMUNDA_SECURE_CONNECTION ` to true for https endpoint' , async function ( ) {
1817
1817
1818
1818
// given
1819
1819
let usedConfig ;
@@ -1835,11 +1835,11 @@ describe('ZeebeAPI', function() {
1835
1835
await zeebeAPI . deploy ( parameters ) ;
1836
1836
1837
1837
// then
1838
- expect ( usedConfig ) . to . have . property ( 'useTLS ' , true ) ;
1838
+ expect ( usedConfig ) . to . have . property ( 'CAMUNDA_SECURE_CONNECTION ' , true ) ;
1839
1839
} ) ;
1840
1840
1841
1841
1842
- it ( 'should set `useTLS =false` for http endpoint (no auth)' , async function ( ) {
1842
+ it ( 'should set `CAMUNDA_SECURE_CONNECTION =false` for http endpoint (no auth)' , async function ( ) {
1843
1843
1844
1844
// given
1845
1845
let usedConfig ;
@@ -1861,11 +1861,11 @@ describe('ZeebeAPI', function() {
1861
1861
await zeebeAPI . deploy ( parameters ) ;
1862
1862
1863
1863
// then
1864
- expect ( usedConfig ) . to . have . property ( 'useTLS ' , false ) ;
1864
+ expect ( usedConfig ) . to . have . property ( 'CAMUNDA_SECURE_CONNECTION ' , false ) ;
1865
1865
} ) ;
1866
1866
1867
1867
1868
- it ( 'should set `useTLS =false` for http endpoint (oauth)' , async function ( ) {
1868
+ it ( 'should set `CAMUNDA_SECURE_CONNECTION =false` for http endpoint (oauth)' , async function ( ) {
1869
1869
1870
1870
// given
1871
1871
let usedConfig ;
@@ -1888,11 +1888,11 @@ describe('ZeebeAPI', function() {
1888
1888
await zeebeAPI . deploy ( parameters ) ;
1889
1889
1890
1890
// then
1891
- expect ( usedConfig ) . to . have . property ( 'useTLS ' , false ) ;
1891
+ expect ( usedConfig ) . to . have . property ( 'CAMUNDA_SECURE_CONNECTION ' , false ) ;
1892
1892
} ) ;
1893
1893
1894
1894
1895
- it ( 'should set `useTLS =true` for no protocol endpoint (cloud)' , async function ( ) {
1895
+ it ( 'should set `CAMUNDA_SECURE_CONNECTION =true` for no protocol endpoint (cloud)' , async function ( ) {
1896
1896
1897
1897
// given
1898
1898
let usedConfig ;
@@ -1914,7 +1914,7 @@ describe('ZeebeAPI', function() {
1914
1914
await zeebeAPI . deploy ( parameters ) ;
1915
1915
1916
1916
// then
1917
- expect ( usedConfig ) . to . have . property ( 'useTLS ' , true ) ;
1917
+ expect ( usedConfig ) . to . have . property ( 'CAMUNDA_SECURE_CONNECTION ' , true ) ;
1918
1918
} ) ;
1919
1919
1920
1920
@@ -1939,8 +1939,6 @@ describe('ZeebeAPI', function() {
1939
1939
// when
1940
1940
await zeebeAPI . deploy ( parameters ) ;
1941
1941
1942
- console . log ( usedConfig , 'config' ) ;
1943
-
1944
1942
// then
1945
1943
expect ( usedConfig ) . to . have . property ( 'CAMUNDA_SECURE_CONNECTION' , true ) ;
1946
1944
} ) ;
@@ -2302,7 +2300,7 @@ describe('ZeebeAPI', function() {
2302
2300
CAMUNDA_AUTH_STRATEGY : 'BASIC' ,
2303
2301
CAMUNDA_BASIC_AUTH_USERNAME : '******' ,
2304
2302
CAMUNDA_BASIC_AUTH_PASSWORD : '******' ,
2305
- useTLS : false
2303
+ CAMUNDA_SECURE_CONNECTION : false
2306
2304
}
2307
2305
} ) ;
2308
2306
@@ -2377,7 +2375,7 @@ describe('ZeebeAPI', function() {
2377
2375
ZEEBE_CLIENT_SECRET : '******' ,
2378
2376
CAMUNDA_CONSOLE_OAUTH_AUDIENCE : 'audience' ,
2379
2377
CAMUNDA_OAUTH_URL : 'oauthURL' ,
2380
- useTLS : false
2378
+ CAMUNDA_SECURE_CONNECTION : false
2381
2379
}
2382
2380
} ) ;
2383
2381
0 commit comments