@@ -55,7 +55,7 @@ describe('hlx publish --remote (default)', () => {
5555 nock . activate ( ) ;
5656
5757 scope = nock ( 'https://adobeioruntime.net' )
58- . post ( '/api/v1/web/helix/helix-services/publish@v1 ' )
58+ . post ( '/api/v1/web/helix/helix-services/publish@v2 ' )
5959 . reply ( 200 , { } )
6060 . post ( '/api/v1/web/helix/default/addlogger' )
6161 . reply ( 200 , { } ) ;
@@ -124,7 +124,7 @@ describe('hlx publish --remote (default)', () => {
124124 . withFastlyAuth ( 'fake_auth' )
125125 . withFastlyNamespace ( 'fake_name' )
126126 . withWskHost ( 'doesn.t.matter' )
127- . withPublishAPI ( 'https://adobeioruntime.net/api/v1/web/helix/helix-services/publish@v1 ' )
127+ . withPublishAPI ( 'https://adobeioruntime.net/api/v1/web/helix/helix-services/publish@v2 ' )
128128 . withConfigFile ( path . resolve ( __dirname , 'fixtures/deployed.yaml' ) )
129129 . withUpdateBotConfig ( true )
130130 . withGithubToken ( 'github-token-foobar' )
@@ -178,7 +178,7 @@ describe('hlx publish --remote (default)', () => {
178178 . withFastlyAuth ( 'fake_auth' )
179179 . withFastlyNamespace ( 'fake_name' )
180180 . withWskHost ( 'doesn.t.matter' )
181- . withPublishAPI ( 'https://adobeioruntime.net/api/v1/web/helix/helix-services/publish@v1 ' )
181+ . withPublishAPI ( 'https://adobeioruntime.net/api/v1/web/helix/helix-services/publish@v2 ' )
182182 . withConfigFile ( path . resolve ( __dirname , 'fixtures/deployed.yaml' ) )
183183 . withUpdateBotConfig ( true )
184184 . withGithubToken ( 'github-token-foobar' )
@@ -219,7 +219,7 @@ describe('hlx publish --remote (default)', () => {
219219 . withFastlyAuth ( 'fake_auth' )
220220 . withFastlyNamespace ( 'fake_name' )
221221 . withWskHost ( 'doesn.t.matter' )
222- . withPublishAPI ( 'https://adobeioruntime.net/api/v1/web/helix/helix-services/publish@v1 ' )
222+ . withPublishAPI ( 'https://adobeioruntime.net/api/v1/web/helix/helix-services/publish@v2 ' )
223223 . withConfigFile ( path . resolve ( __dirname , 'fixtures/deployed.yaml' ) )
224224 . withUpdateBotConfig ( true )
225225 . withGithubToken ( 'github-token-foobar' )
@@ -279,7 +279,7 @@ describe('hlx publish --remote (default)', () => {
279279 . withFastlyAuth ( 'fake_auth' )
280280 . withFastlyNamespace ( 'fake_name' )
281281 . withWskHost ( 'doesn.t.matter' )
282- . withPublishAPI ( 'https://adobeioruntime.net/api/v1/web/helix/helix-services/publish@v1 ' )
282+ . withPublishAPI ( 'https://adobeioruntime.net/api/v1/web/helix/helix-services/publish@v2 ' )
283283 . withConfigFile ( path . resolve ( __dirname , 'fixtures/deployed.yaml' ) )
284284 . withUpdateBotConfig ( true )
285285 . withGithubToken ( 'github-token-foobar' )
@@ -329,7 +329,7 @@ describe('hlx publish --remote (default)', () => {
329329 . withFastlyAuth ( 'fake_auth' )
330330 . withFastlyNamespace ( 'fake_name' )
331331 . withWskHost ( 'doesn.t.matter' )
332- . withPublishAPI ( 'https://adobeioruntime.net/api/v1/web/helix/helix-services/publish@v1 ' )
332+ . withPublishAPI ( 'https://adobeioruntime.net/api/v1/web/helix/helix-services/publish@v2 ' )
333333 . withConfigFile ( path . resolve ( __dirname , 'fixtures/deployed.yaml' ) )
334334 . withUpdateBotConfig ( true )
335335 . withGithubToken ( 'github-token-foobar' )
@@ -403,7 +403,7 @@ describe('hlx publish --remote (default)', () => {
403403 . withFastlyAuth ( 'fake_auth' )
404404 . withFastlyNamespace ( 'fake_name' )
405405 . withWskHost ( 'doesn.t.matter' )
406- . withPublishAPI ( 'https://adobeioruntime.net/api/v1/web/helix/helix-services/publish@v1 ' )
406+ . withPublishAPI ( 'https://adobeioruntime.net/api/v1/web/helix/helix-services/publish@v2 ' )
407407 . withConfigFile ( path . resolve ( __dirname , 'fixtures/deployed.yaml' ) )
408408 . withUpdateBotConfig ( true )
409409 . withGithubToken ( 'github-token-foobar' )
0 commit comments