@@ -52,6 +52,7 @@ describe('PUT /registry/{name}', () => {
5252 patch : 0 ,
5353 } ) , {
5454 registry : 'https://example.com' ,
55+ apiEndpoint : 'https://example.com/prod/registry' ,
5556 user : stub ( ) ,
5657 log : {
5758 info : stub ( ) ,
@@ -76,6 +77,7 @@ describe('PUT /registry/{name}', () => {
7677 patch : 0 ,
7778 } ) , {
7879 registry : 'https://example.com' ,
80+ apiEndpoint : 'https://example.com/prod/registry' ,
7981 user : stub ( ) ,
8082 log : {
8183 error : stub ( ) ,
@@ -101,6 +103,7 @@ describe('PUT /registry/{name}', () => {
101103 patch : 0 ,
102104 } ) , {
103105 registry : 'https://example.com' ,
106+ apiEndpoint : 'https://example.com/prod/registry' ,
104107 user : stub ( ) ,
105108 log : {
106109 info : stub ( ) ,
@@ -130,6 +133,7 @@ describe('PUT /registry/{name}', () => {
130133 patch : 0 ,
131134 } ) , {
132135 registry : 'https://example.com' ,
136+ apiEndpoint : 'https://example.com/prod/registry' ,
133137 user : stub ( ) ,
134138 log : {
135139 info : stub ( ) ,
@@ -168,6 +172,7 @@ describe('PUT /registry/{name}', () => {
168172 patch : 0 ,
169173 } ) , {
170174 registry : 'https://example.com' ,
175+ apiEndpoint : 'https://example.com/prod/registry' ,
171176 user : stub ( ) ,
172177 log : {
173178 info : stub ( ) ,
@@ -192,6 +197,7 @@ describe('PUT /registry/{name}', () => {
192197 patch : 0 ,
193198 } ) , {
194199 registry : 'https://example.com' ,
200+ apiEndpoint : 'https://example.com/prod/registry' ,
195201 user : stub ( ) ,
196202 log : {
197203 error : stub ( ) ,
@@ -218,6 +224,7 @@ describe('PUT /registry/{name}', () => {
218224 patch : 0 ,
219225 } ) , {
220226 registry : 'https://example.com' ,
227+ apiEndpoint : 'https://example.com/prod/registry' ,
221228 user : stub ( ) ,
222229 log : {
223230 error : stub ( ) ,
@@ -255,6 +262,7 @@ describe('PUT /registry/{name}', () => {
255262 patch : 0 ,
256263 } ) , {
257264 registry : 'https://example.com' ,
265+ apiEndpoint : 'https://example.com/prod/registry' ,
258266 user : stub ( ) ,
259267 log : {
260268 error : stub ( ) ,
@@ -298,6 +306,7 @@ describe('PUT /registry/{name}', () => {
298306 patch : 0 ,
299307 } ) , {
300308 registry : 'https://example.com' ,
309+ apiEndpoint : 'https://example.com/prod/registry' ,
301310 user : stub ( ) ,
302311 log : {
303312 error : stub ( ) ,
@@ -335,6 +344,7 @@ describe('PUT /registry/{name}', () => {
335344 patch : 0 ,
336345 } ) , {
337346 registry : 'https://example.com' ,
347+ apiEndpoint : 'https://example.com/prod/registry' ,
338348 user : stub ( ) ,
339349 log : {
340350 error : stub ( ) ,
0 commit comments