text: let nock = require('nock');
  
  module.exports.hash = "55a4670064fdc9064c708ab4e3e62e54";
  
  module.exports.testInfo = {"uniqueName":{},"newDate":{}}
  
  nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true})
    .get('/acr/v1/library%2Fhello-world/_tags')
    .query(true)
    .reply(401, {"errors":[{"code":"UNAUTHORIZED","message":"authentication required, visit https://aka.ms/acr/authorization for more information.","detail":[{"Type":"repository","Name":"library/hello-world","Action":"metadata_read"}]}]}, [
    'Server',
    'openresty',
    'Date',
    'Mon, 08 Nov 2021 20:10:38 GMT',
    'Content-Type',
    'application/json; charset=utf-8',
    'Content-Length',
    '222',
    'Connection',
    'close',
    'Access-Control-Expose-Headers',
    'Docker-Content-Digest',
    'Access-Control-Expose-Headers',
    'WWW-Authenticate',
    'Access-Control-Expose-Headers',
    'Link',
    'Access-Control-Expose-Headers',
    'X-Ms-Correlation-Request-Id',
    'Docker-Distribution-Api-Version',
    'registry/2.0',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains',
    'Www-Authenticate',
    'Bearer realm="https://myregistry.azurecr.io/oauth2/token",service="myregistry.azurecr.io",scope="repository:library/hello-world:metadata_read"',
    'X-Content-Type-Options',
    'nosniff',
    'X-Ms-Correlation-Request-Id',
    'c4c4fae4-8c12-421f-a328-4bbd8e4ad3a1',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains'
  ]);
  
  nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
    .get('/common/discovery/instance')
    .query(true)
    .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [
    'Cache-Control',
    'max-age=86400, private',
    'Content-Type',
    'application/json; charset=utf-8',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains',
    'X-Content-Type-Options',
    'nosniff',
    'Access-Control-Allow-Origin',
    '*',
    'Access-Control-Allow-Methods',
    'GET, OPTIONS',
    'P3P',
    'CP="DSP CUR OTPi IND OTRi ONL FIN"',
    'x-ms-request-id',
    '7b71d9dc-5d98-4bc4-b8c3-08cede628101',
    'x-ms-ests-server',
    '2.1.12171.15 - SCUS ProdSlices',
    'Set-Cookie',
    'fpc=AqZPk4f9d3VAu83dF7ZTVeE; expires=Wed, 08-Dec-2021 20:10:38 GMT; path=/; secure; HttpOnly; SameSite=None',
    'Set-Cookie',
    'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrdZ7ABo7NgyL_Y8qxwVr-tpULLf6p-HXfQY8x4GJHZVZaXoH5AeVw_tD-MtweB0qbKhsLazR_FH3-HOet3SeOHU3JUWDaSvxYFd5kguWysoIJgwM9_Yie_28-nPU5_IJ3n39IXlMC9ph4PEX-w4ngx8UayO0P3sgj17i9DPvCzh8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
    'Set-Cookie',
    'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
    'Set-Cookie',
    'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
    'Date',
    'Mon, 08 Nov 2021 20:10:38 GMT',
    'Connection',
    'close',
    'Content-Length',
    '980'
  ]);
  
  nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
    .get('/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration')
    .reply(200, {"token_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [
    'Cache-Control',
    'max-age=86400, private',
    'Content-Type',
    'application/json; charset=utf-8',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains',
    'X-Content-Type-Options',
    'nosniff',
    'Access-Control-Allow-Origin',
    '*',
    'Access-Control-Allow-Methods',
    'GET, OPTIONS',
    'P3P',
    'CP="DSP CUR OTPi IND OTRi ONL FIN"',
    'x-ms-request-id',
    '87a78c1f-6710-4053-8567-7968f2cebf00',
    'x-ms-ests-server',
    '2.1.12197.4 - EUS ProdSlices',
    'Set-Cookie',
    'fpc=Al6-nSoVT0ZCpQGKTlCAYKs; expires=Wed, 08-Dec-2021 20:10:38 GMT; path=/; secure; HttpOnly; SameSite=None',
    'Set-Cookie',
    'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrWc6ZVOX1_81xoIkFmZ6tNylNP8dMTaiklb45M07dNQO26qrHKSoYE7qbZ-Re4T1fYpIevSmZD8VAiJrxDz_NooUyetoBk8ip_JkQk0fpt_yJk5I7jSSA4F8u1XvoEyE26eftO48PTmoMtET9g-86mj4H-CUEZy0Z5ecVClG9PlAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
    'Set-Cookie',
    'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
    'Set-Cookie',
    'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
    'Date',
    'Mon, 08 Nov 2021 20:10:38 GMT',
    'Connection',
    'close',
    'Content-Length',
    '1753'
  ]);
  
  nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
    .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.2&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=fc9676d0-d9de-4e3b-a303-780e709d188c&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D")
    .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [
    'Cache-Control',
    'no-store, no-cache',
    'Pragma',
    'no-cache',
    'Content-Type',
    'application/json; charset=utf-8',
    'Expires',
    '-1',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains',
    'X-Content-Type-Options',
    'nosniff',
    'P3P',
    'CP="DSP CUR OTPi IND OTRi ONL FIN"',
    'x-ms-request-id',
    '5d3b8ab0-f3a8-46a6-a3fe-0556138fb800',
    'x-ms-ests-server',
    '2.1.12197.4 - WUS2 ProdSlices',
    'x-ms-clitelem',
    '1,0,0,,',
    'Set-Cookie',
    'fpc=AnSjPYx94HBCslQcsdV1Nv5GOXJzAQAAAD57G9kOAAAA; expires=Wed, 08-Dec-2021 20:10:39 GMT; path=/; secure; HttpOnly; SameSite=None',
    'Set-Cookie',
    'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
    'Set-Cookie',
    'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
    'Date',
    'Mon, 08 Nov 2021 20:10:38 GMT',
    'Connection',
    'close',
    'Content-Length',
    '1351'
  ]);
  
  nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true})
    .post('/oauth2/exchange', "grant_type=access_token&service=myregistry.azurecr.io&access_token=access_token")
    .query(true)
    .reply(200, {"refresh_token":"sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized"}, [
    'Server',
    'openresty',
    'Date',
    'Mon, 08 Nov 2021 20:10:39 GMT',
    'Content-Type',
    'application/json; charset=utf-8',
    'Transfer-Encoding',
    'chunked',
    'Connection',
    'close',
    'X-Ms-Correlation-Request-Id',
    '84489fd0-9592-4591-915c-6b8c4aadb1f3',
    'x-ms-ratelimit-remaining-calls-per-second',
    '166.55',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains'
  ]);
  
  nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true})
    .post('/oauth2/token', "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token")
    .query(true)
    .reply(200, {"access_token":"access_token"}, [
    'Server',
    'openresty',
    'Date',
    'Mon, 08 Nov 2021 20:10:39 GMT',
    'Content-Type',
    'application/json; charset=utf-8',
    'Transfer-Encoding',
    'chunked',
    'Connection',
    'close',
    'X-Ms-Correlation-Request-Id',
    '09ab02d1-7550-41fa-9ecd-90f66ea7688d',
    'x-ms-ratelimit-remaining-calls-per-second',
    '166.566667',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains'
  ]);
  
  nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true})
    .get('/acr/v1/library%2Fhello-world/_tags')
    .query(true)
    .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","tags":[{"name":"latest","digest":"sha256:5122f6204b6a3596e048758cabba3c46b1c937a46b5be6225b835d091b90e46c","createdTime":"2021-06-01T17:44:40.8107647Z","lastUpdateTime":"2021-06-01T17:44:40.8107647Z","signed":false,"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}}]}, [
    'Server',
    'openresty',
    'Date',
    'Mon, 08 Nov 2021 20:10:39 GMT',
    'Content-Type',
    'application/json; charset=utf-8',
    'Content-Length',
    '392',
    'Connection',
    'close',
    'Access-Control-Expose-Headers',
    'Docker-Content-Digest',
    'Access-Control-Expose-Headers',
    'WWW-Authenticate',
    'Access-Control-Expose-Headers',
    'Link',
    'Access-Control-Expose-Headers',
    'X-Ms-Correlation-Request-Id',
    'Docker-Distribution-Api-Version',
    'registry/2.0',
    'Link',
    '</acr/v1/library%2Fhello-world/_tags?last=latest&n=1&orderby=>; rel="next"',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains',
    'X-Content-Type-Options',
    'nosniff',
    'X-Ms-Correlation-Request-Id',
    '0b9416d1-39db-4b02-8e88-90bb17c413e0',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains'
  ]);
  
  nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true})
    .get('/acr/v1/library%2Fhello-world/_tags')
    .query(true)
    .reply(401, {"errors":[{"code":"UNAUTHORIZED","message":"authentication required, visit https://aka.ms/acr/authorization for more information.","detail":[{"Type":"repository","Name":"library/hello-world","Action":"metadata_read"}]}]}, [
    'Server',
    'openresty',
    'Date',
    'Mon, 08 Nov 2021 20:10:40 GMT',
    'Content-Type',
    'application/json; charset=utf-8',
    'Content-Length',
    '222',
    'Connection',
    'close',
    'Access-Control-Expose-Headers',
    'Docker-Content-Digest',
    'Access-Control-Expose-Headers',
    'WWW-Authenticate',
    'Access-Control-Expose-Headers',
    'Link',
    'Access-Control-Expose-Headers',
    'X-Ms-Correlation-Request-Id',
    'Docker-Distribution-Api-Version',
    'registry/2.0',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains',
    'Www-Authenticate',
    'Bearer realm="https://myregistry.azurecr.io/oauth2/token",service="myregistry.azurecr.io",scope="repository:library/hello-world:metadata_read"',
    'X-Content-Type-Options',
    'nosniff',
    'X-Ms-Correlation-Request-Id',
    '72ae9a35-890b-4637-b5d0-34cdc3b90406',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains'
  ]);
  
  nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true})
    .post('/oauth2/token', "service=myregistry.azurecr.io&scope=repository%3Alibrary%2Fhello-world%3Ametadata_read&refresh_token=sanitized.eyJleHAiOjg2NDAwMDAwMDAwMDB9.sanitized&grant_type=refresh_token")
    .query(true)
    .reply(200, {"access_token":"access_token"}, [
    'Server',
    'openresty',
    'Date',
    'Mon, 08 Nov 2021 20:10:40 GMT',
    'Content-Type',
    'application/json; charset=utf-8',
    'Transfer-Encoding',
    'chunked',
    'Connection',
    'close',
    'X-Ms-Correlation-Request-Id',
    '6decf439-dc60-4ff0-a400-501136be751c',
    'x-ms-ratelimit-remaining-calls-per-second',
    '166.633333',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains'
  ]);
  
  nock('https://myregistry.azurecr.io:443', {"encodedQueryParams":true})
    .get('/acr/v1/library%2Fhello-world/_tags')
    .query(true)
    .reply(200, {"registry":"myregistry.azurecr.io","imageName":"library/hello-world","tags":[{"name":"test-delete","digest":"sha256:37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51","createdTime":"2021-11-08T19:55:54.538344Z","lastUpdateTime":"2021-11-08T19:55:54.538344Z","signed":false,"changeableAttributes":{"deleteEnabled":true,"writeEnabled":true,"readEnabled":true,"listEnabled":true}}]}, [
    'Server',
    'openresty',
    'Date',
    'Mon, 08 Nov 2021 20:10:40 GMT',
    'Content-Type',
    'application/json; charset=utf-8',
    'Content-Length',
    '395',
    'Connection',
    'close',
    'Access-Control-Expose-Headers',
    'Docker-Content-Digest',
    'Access-Control-Expose-Headers',
    'WWW-Authenticate',
    'Access-Control-Expose-Headers',
    'Link',
    'Access-Control-Expose-Headers',
    'X-Ms-Correlation-Request-Id',
    'Docker-Distribution-Api-Version',
    'registry/2.0',
    'Link',
    '</acr/v1/library%2Fhello-world/_tags?last=test-delete&n=1&orderby=>; rel="next"',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains',
    'X-Content-Type-Options',
    'nosniff',
    'X-Ms-Correlation-Request-Id',
    'd5ef1413-5487-4f1d-8991-eacd54876e4c',
    'Strict-Transport-Security',
    'max-age=31536000; includeSubDomains'
  ]);
  