diff --git a/client-templates/github/accept.json.sample b/client-templates/github/accept.json.sample index 21a65dd7b..57705e5de 100644 --- a/client-templates/github/accept.json.sample +++ b/client-templates/github/accept.json.sample @@ -282,7 +282,7 @@ { "//": "query for all the file names 2 levels deep in the repo. used for auto project detection", "path": "query", - "regex": "{\\s*repositoryOwner\\(login:\\s*\"([a-zA-Z0-9-_.]+)\"\\)\\s*{\\s*repository\\(name:\\s*\"([a-zA-Z0-9-_.]+)\"\\)\\s*{\\s*object\\(expression:\\s*\"([a-zA-Z0-9-_./:]+)\"\\)\\s*{\\s*\\.\\.\\.\\s*on\\s+Tree\\s+{\\s*entries\\s*{\\s*name\\s+type\\s+object\\s*{\\s*\\.\\.\\.\\s*on\\s+Tree\\s+{\\s*entries\\s*{\\s*name\\s+type\\s+object\\s*{\\s*\\.\\.\\.on\\s+Tree\\s*{\\s*entries\\s*{\\s*name\\s+type\\s*}\\s*}\\s*}\\s*}\\s*}\\s*}\\s*}\\s*}\\s*}\\s*}\\s*}\\s*}" + "regex": "{\\s*repositoryOwner\\(login:\\s*\"([a-zA-Z0-9-_.]+)\"\\)\\s*{\\s*repository\\(name:\\s*\"([a-zA-Z0-9-_.]+)\"\\)\\s*{\\s*object\\(expression:\\s*\"([a-zA-Z0-9-_./:]+)\"\\)\\s*{\\s*\\.\\.\\.\\s*on\\s+Tree\\s+{\\s*entries\\s*{\\s*name\\s+type\\s+object\\s*{\\s*\\.\\.\\.\\s*on\\s+Tree\\s+{\\s*entries\\s*{\\s*name\\s+type\\s+object\\s*{\\s*\\.\\.\\.\\s*on\\s+Tree\\s*{\\s*entries\\s*{\\s*name\\s+type\\s*}\\s*}\\s*}\\s*}\\s*}\\s*}\\s*}\\s*}\\s*}\\s*}\\s*}\\s*}" } ] } diff --git a/test/fixtures/certs/ca/my-root-ca.crt.pem b/test/fixtures/certs/ca/my-root-ca.crt.pem index 9f2994e49..c8860be4b 100644 --- a/test/fixtures/certs/ca/my-root-ca.crt.pem +++ b/test/fixtures/certs/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gQuF +IupTEcBGhRuRwHjK/F0qZyZsK5M+5TF752SXDTo0/qXAS3FrJ5+0oS0iRd25SkNC +Nu50btNa8eNLbjDFfeLQhbFFafrxxJzwH4wKCGLv271TAgMBAAEwDQYJKoZIhvcN +AQELBQADggEBAAdrSCb8XZgEJWdmXab3dBhdQwG9T4hnr3pl2hu7S0WBC4F3bsEy +IN0PCBzxV+hwbtyiMmJbsCppQ/UheFdfL4gjOivT5hlSLR7YEIpDZaQlNDtBTG+9 +FWk5txdkxs/JLae4hqVu7yt0vtc100dWPgN5biSkcDFTosn06yZroCnPiXP4BJjr +yabPBuRLF9KzSAt1UISd5kwbS+uiJL2C0E/DwCLHiEYFe/AvyzEndBmAbZSQZ/ov +XrCucH4Vm9Amoiq6V9Xn9Yw7KrYZb7iVntHdgEbRYGDDxdhpJyamqm//zeCv/Wsr +XST74FCCWkLfgVBj0B/mc8WZjUxSMZgfMJA= -----END CERTIFICATE----- diff --git a/test/fixtures/certs/ca/my-root-ca.key.pem b/test/fixtures/certs/ca/my-root-ca.key.pem index 6779e29f2..df899cb63 100644 --- a/test/fixtures/certs/ca/my-root-ca.key.pem +++ b/test/fixtures/certs/ca/my-root-ca.key.pem @@ -1,27 +1,27 @@ -----BEGIN RSA PRIVATE KEY----- -MIIEowIBAAKCAQEA0jd7aOHIChA616eYOCoxq6UNt3ovEHnj7YcQFn3jzryznrcd -l9bWL1rfbY2OXxnxmzsenpfw0A20l46Ns52hwpXtRnuaGIKKuUTVN66V/CA9tsN2 -NDhBIJ6eARIF2LVqLUjL5tLELxFfjGJE/W8SBSWwgSPnStBaO+o1T0H6TSPCt9Jh -ZIXPg48vqnaQIqd7wDfiyakvTbJoRx2SDLp3SOhXiCA8yq/XtxXRYSvvik75/9sV -kP0g5useJu2nsY90+bErhuh82o9pXFd+nkFenVNo1mEvBEGBWNO0rudTjoD1Ncxn -n2+T2De+/58II/LWzV3r/BEyyj3IePqF9F6yiwIDAQABAoIBAHBEISxKKEL3l/VE -FA8quY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tBw17/qFUtlBDuVYNJTOlcTxVY5D454mh223CHrE +5fDOwfjlebATTIO3LJNgV1TXUS7Ve7e9mK5KCutZEyQjHjyKcQs4t7uOFzKXumWI +W0ZcQEIvR+WWnGMtv2ZhfEjBjB2KEQPM2l0qLK8CgYEAwy22MsVNNAQA4qdd1HF+ ++7QhntmW350u/RfLPLTfiXwb8AsCwsnHtH9MRt0NP0Y0cZi2VBFzBRQUqlvRl+/V +fhEgunfrbaDkylCEzpjd921swotUwTVT9Dd+7WpO6LerNEWeeJCldBat1j23Vt3F +zmIbDCXOuLCZ0N4tOEw5mVkCgYBpL26FgA+0rgRym5gdgLXuCOQvWtwNpOJ5equV +mnFWZswJHX8X2xzgyhaG8XhHZReO1yfNYaMzweseuvRkQ6gX6LkYBx9uGqknN5M6 +PmIrekLitF8djRRH1DCvTqZEW9JHIf5+ltCKavVIh8nZmeBCIK+ZaAFN8qssAgMk +KlRMJQKBgGEAu01vrfooXKbQjEmYSOokw0XWHQInAhn1ct5dUXXb9pF77E9ZTwhV +2AXrkZmciDh7k+pkftzzC2bXdHIEodiqe7GQVOeVpc2+JssVqfzu0OgcaC4fbuDm +fitOSWtiewpaJaEhHKNstHrP0sP3hIhq/uKRiZIM3EaSR2i8Ihfu -----END RSA PRIVATE KEY----- diff --git a/test/fixtures/certs/client/chain.pem b/test/fixtures/certs/client/chain.pem index 9f2994e49..c8860be4b 100644 --- a/test/fixtures/certs/client/chain.pem +++ b/test/fixtures/certs/client/chain.pem @@ -1,24 +1,20 @@ -----BEGIN CERTIFICATE----- -MIIEGDCCAwCgAwIBAgIJAJq8QHkEg5o5MA0GCSqGSIb3DQEBBQUAMGUxCzAJBgNV -BAYTAlVTMQ0wCwYDVQQIEwRVdGFoMQ4wDAYDVQQHEwVQcm92bzEjMCEGA1UEChMa -SW50ZXJuYWwgU2lnbmluZyBBdXRob3JpdHkxEjAQBgNVBAMTCWxvY2FsaG9zdDAe -Fw0xNjEwMTExMjIxNTZaFw0xOTA4MDExMj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vtc100dWPgN5biSkcDFTosn06yZroCnPiXP4BJjr +yabPBuRLF9KzSAt1UISd5kwbS+uiJL2C0E/DwCLHiEYFe/AvyzEndBmAbZSQZ/ov +XrCucH4Vm9Amoiq6V9Xn9Yw7KrYZb7iVntHdgEbRYGDDxdhpJyamqm//zeCv/Wsr +XST74FCCWkLfgVBj0B/mc8WZjUxSMZgfMJA= -----END CERTIFICATE----- diff --git a/test/fixtures/certs/client/pubkey.pem b/test/fixtures/certs/client/pubkey.pem index 4f3a63a91..0b95a29dc 100644 --- a/test/fixtures/certs/client/pubkey.pem +++ b/test/fixtures/certs/client/pubkey.pem @@ -1,9 +1,9 @@ -----BEGIN PUBLIC KEY----- -MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA77j88dFqCJiXgigrQAYR -2lt2tlRQqmTo+H/YYwFK0epuaAhVF4qzhoN3pcdbhaVL9+FRLl4DTKq3GtQId6lk -Rf927x/QYfA0FFDZWopg8aQUuC7ka30J8F01xG1/fw0wfMYziE8eQ/p+5sP1O18x -0E4stOL+IM+DltC4vFqis6fpirzWU90Fk23oUh9vJF0Yc8PA4pWm24dBnjYxkT2D -Z+uieI2fXvRf8Yurik0UMPDO+WsOTR1xRVScuDKnq9gePAY6nReUcxX6XcShKEjz -lYeMQca9KFOxYIb6B+DqBQ5SVJnFL2rtWmErL2h+QgU4OV56IVv4IDrDSWR5Wftd -hwIDAQAB +MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8j/Bw25w5WuaY26OzdqG +OIeYmBhKLtm79dBAVAPqnz02uSHI2kyioIyqoJdt4AyudTVEOs5209HHEAYwWlEw +rx034/MjXxd7iWf+gDfio0NSKVtMKc1f2Chi3wfeDa50Xro4BSSDemq6KUQk4grf +FT8lH5aDcbCr2MZsGFYrNMwhEvDq944KZ5lyIcChrrOOT0JVDk7R+4x92ClFx4hu +iDLjI1i0VllJodIcE2kBTeClV0HM/5tG/P643KOYa+gmjv99CKqfhhxQzMkSopRq +bhR6UvIKG4dP4SlKegzGLy6lTp1bmsA/pIkRslAYCExgQiW90Snu6whc7XZZtm7v ++wIDAQAB -----END PUBLIC KEY----- diff --git a/test/fixtures/certs/generate-certs.sh b/test/fixtures/certs/generate-certs.sh index b7bde6bf3..78f61ff72 100644 --- a/test/fixtures/certs/generate-certs.sh +++ b/test/fixtures/certs/generate-certs.sh @@ -16,7 +16,7 @@ openssl req \ -new \ -nodes \ -key ca/my-root-ca.key.pem \ - -days 1024 \ + -days 3650 \ -out ca/my-root-ca.crt.pem \ -subj "/C=US/ST=Utah/L=Provo/O=Internal Signing Authority/CN=${FQDN}" @@ -41,7 +41,7 @@ openssl x509 \ -CAkey ca/my-root-ca.key.pem \ -CAcreateserial \ -out server/cert.pem \ - -days 500 + -days 3650 # Create a public key, for funzies # see https://gist.github.com/coolaj86/f6f36efce2821dfb046d diff --git a/test/fixtures/certs/server/cert.pem b/test/fixtures/certs/server/cert.pem index 8ea64bf19..432f3751a 100644 --- a/test/fixtures/certs/server/cert.pem +++ b/test/fixtures/certs/server/cert.pem @@ -1,20 +1,20 @@ -----BEGIN CERTIFICATE----- -MIIDOTCCAiECCQDeQUEpn9zznTANBgkqhkiG9w0BAQUFADBlMQswCQYDVQQGEwJV -UzENMAsGA1UECBMEVXRhaDEOMAwGA1UEBxMFUHJvdm8xIzAhBgNVBAoTGkludGVy -bmFsIFNpZ25pbmcgQXV0aG9yaXR5MRIwEAYDVQQDEwlsb2NhbGhvc3QwHhcNMTYx -MDExMTIyMTU2WhcNMTgwMjIzMTIyMTU2WjBYMQswCQYDVQQGEwJVUzENMAsGA1UE -CBMEVXRhaDEOMAwGA1UEBxMFUHJvdm8xFjAUBgNVBAoTDUFDTUUgVGVjaCBJbmMx -EjAQBgNVBAMTCWxvY2FsaG9zdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC -ggEBAO+4/PHRagiYl4IoK0AGEdpbdrZUUKpk6Ph/2GMBStHqbmgIVReKs4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NucOVrmmNujs3ahjiHmJgYSi7Zu/XQQFQD6p89NrkhyNpMoqCMqqCX +beAMrnU1RDrOdtPRxxAGMFpRMK8dN+PzI18Xe4ln/oA34qNDUilbTCnNX9goYt8H +3g2udF66OAUkg3pquilEJOIK3xU/JR+Wg3Gwq9jGbBhWKzTMIRLw6veOCmeZciHA +oa6zjk9CVQ5O0fuMfdgpRceIbogy4yNYtFZZSaHSHBNpAU3gpVdBzP+bRvz+uNyj +mGvoJo7/fQiqn4YcUMzJEqKUam4UelLyChuHT+EpSnoMxi8upU6dW5rAP6SJEbJQ +GAhMYEIlvdEp7usIXO12WbZu7/sCAwEAATANBgkqhkiG9w0BAQUFAAOCAQEAS+ek ++g+GXsO7cJQR3A6LUzQTbpvUJmj9jkkggloB2gL3fcy09/QXadStYTaJltZaUJwO +m+xQkdCtVDKIY429QmxSP9431AtzEocHiGJ2raZKoFpnTmXoep2mVsXAkqgX0Aso +Xg1ae0nM9XmMl5Y2h+D0KxlDfNfkMAwbyIhZcVC2qtuS0IJcnJd7eY6SJlGBGq7x +QixlwZr+3/k6IM9z+em8tMj9VL/iEPId0C/YMajNrBKfdVXYq6CLs3uGo8TqQdy8 +OQniaZ4YkCBJ1iwe3zn5vdx4eF3TC5ilvZmL6F4kL8a8G2bPFj0jRNiYTkvs12mv +0nDAVhPg8iaepKxvYQ== -----END CERTIFICATE----- diff --git a/test/fixtures/certs/server/chain.pem b/test/fixtures/certs/server/chain.pem index 9f2994e49..c8860be4b 100644 --- a/test/fixtures/certs/server/chain.pem +++ b/test/fixtures/certs/server/chain.pem @@ -1,24 +1,20 @@ -----BEGIN CERTIFICATE----- -MIIEGDCCAwCgAwIBAgIJAJq8QHkEg5o5MA0GCSqGSIb3DQEBBQUAMGUxCzAJBgNV -BAYTAlVTMQ0wCwYDVQQIEwRVdGFoMQ4wDAYDVQQHEwVQcm92bzEjMCEGA1UEChMa -SW50ZXJuYWwgU2lnbmluZyBBdXRob3JpdHkxEjAQBgNVBAMTCWxv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lSLR7YEIpDZaQlNDtBTG+9 +FWk5txdkxs/JLae4hqVu7yt0vtc100dWPgN5biSkcDFTosn06yZroCnPiXP4BJjr +yabPBuRLF9KzSAt1UISd5kwbS+uiJL2C0E/DwCLHiEYFe/AvyzEndBmAbZSQZ/ov +XrCucH4Vm9Amoiq6V9Xn9Yw7KrYZb7iVntHdgEbRYGDDxdhpJyamqm//zeCv/Wsr +XST74FCCWkLfgVBj0B/mc8WZjUxSMZgfMJA= -----END CERTIFICATE----- diff --git a/test/fixtures/certs/server/fullchain.pem b/test/fixtures/certs/server/fullchain.pem index 5aa4bbcfe..215eceeb9 100644 --- a/test/fixtures/certs/server/fullchain.pem +++ b/test/fixtures/certs/server/fullchain.pem @@ -1,44 +1,40 @@ -----BEGIN CERTIFICATE----- -MIIDOTCCAiECCQDeQUEpn9zznTANBgkqhkiG9w0BAQUFADBlMQswCQYDVQQGEwJV -UzENMAsGA1UECBMEVXRhaDEOMAwGA1UEBxMFUHJvdm8xIzAhBgNVBAoTGkludGVy -bmFsIFNpZ25pbmcgQXV0aG9yaXR5MRIwEAYDVQQDEwlsb2NhbGhvc3QwHhcNMTYx -MDExMTIyMTU2WhcNMTgwMjIzMTIyMTU2WjBYMQswCQYDVQQGEwJVUzENMAsGA1UE -CBMEVXRhaDEOMAwGA1UEBxMFUHJvdm8xFjAUBgNVBAoTDUFDTUUgVGVjaCBJbmMx -EjAQBgNVBAMTCWxvY2FsaG9zdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC -ggEBAO+4/PHRagiYl4IoK0AGEdpbdrZUUKpk6Ph/2GMBStHqbmgIVReKs4aDd6XH -W4WlS/fhUS5eA0yqtxrUCHepZEX/du8f0GHwNBRQ2VqKYPGkFLgu5Gt9CfBdNcRt -f38NMHzGM4hPHkP6fubD9TtfMdBOLLTi/iDPg5bQuLxaorOn6Yq81lPdBZNt6FIf -byRdGHPDwOKVptuHQZ42MZE9g2froniNn170X/GLq4pNFDDwzvlrDk0dcUVUnL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pbmcgQXV0aG9yaXR5MRIwEAYDVQQDDAlsb2NhbGhvc3QwHhcNMTgw +MjI1MTQ1NDU1WhcNMjgwMjIzMTQ1NDU1WjBlMQswCQYDVQQGEwJVUzENMAsGA1UE +CAwEVXRhaDEOMAwGA1UEBwwFUHJvdm8xIzAhBgNVBAoMGkludGVybmFsIFNpZ25p +bmcgQXV0aG9yaXR5MRIwEAYDVQQDDAlsb2NhbGhvc3QwggEiMA0GCSqGSIb3DQEB +AQUAA4IBDwAwggEKAoIBAQCottzRZJSCy0rHBVKCu/53bIrrCwOIMc9Dc6RxE0eG +BMT10xJK8t57AvWrONyIXp7cKlwA2GLGrI4JURlxQ0x8BQCxG41D62+njYyfvowH +g5tktGSsgTCfzqOdJDlj/QOIQ/cuU73oDsyuxKz5rGPorFuGpkhNMJFYk1AGaM0C +SQGEZHxDLDNq5H77RHd6Ceyjcm4SkIQw7K+5npmxEQKOHdn2UZR18ZA44OiWgQuF +IupTEcBGhRuRwHjK/F0qZyZsK5M+5TF752SXDTo0/qXAS3FrJ5+0oS0iRd25SkNC +Nu50btNa8eNLbjDFfeLQhbFFafrxxJzwH4wKCGLv271TAgMBAAEwDQYJKoZIhvcN +AQELBQADggEBAAdrSCb8XZgEJWdmXab3dBhdQwG9T4hnr3pl2hu7S0WBC4F3bsEy +IN0PCBzxV+hwbtyiMmJbsCppQ/UheFdfL4gjOivT5hlSLR7YEIpDZaQlNDtBTG+9 +FWk5txdkxs/JLae4hqVu7yt0vtc100dWPgN5biSkcDFTosn06yZroCnPiXP4BJjr +yabPBuRLF9KzSAt1UISd5kwbS+uiJL2C0E/DwCLHiEYFe/AvyzEndBmAbZSQZ/ov +XrCucH4Vm9Amoiq6V9Xn9Yw7KrYZb7iVntHdgEbRYGDDxdhpJyamqm//zeCv/Wsr +XST74FCCWkLfgVBj0B/mc8WZjUxSMZgfMJA= -----END CERTIFICATE----- diff --git a/test/fixtures/certs/server/privkey.pem b/test/fixtures/certs/server/privkey.pem index e4f5368a9..b024a68aa 100644 --- a/test/fixtures/certs/server/privkey.pem +++ b/test/fixtures/certs/server/privkey.pem @@ -1,27 +1,27 @@ -----BEGIN RSA PRIVATE KEY----- -MIIEogIBAAKCAQEA77j88dFqCJiXgigrQAYR2lt2tlRQqmTo+H/YYwFK0epuaAhV -F4qzhoN3pcdbhaVL9+FRLl4DTKq3GtQId6lkRf927x/QYfA0FFDZWopg8aQUuC7k -a30J8F01xG1/fw0wfMYziE8eQ/p+5sP1O18x0E4stOL+IM+DltC4vFqis6fpirzW -U90Fk23oUh9vJF0Yc8PA4pWm24dBnjYxkT2DZ+uieI2fXvRf8Yurik0UMPDO+WsO -TR1xRVScuDKnq9gePAY6nReUcxX6XcShKEjzlYeMQca9KFOxYIb6B+DqBQ5SVJnF -L2rtWmErL2h+QgU4OV56IVv4IDrDSWR5WftdhwIDAQABAoIBAAZ3jxtW8u1YcH3q -Z4BKqaCiZwl0LNjr7/0ENeo11rbjBCd6UhFYhI9UbJ3kSuvIEcyWH4KItr4SvO3U -WoYf47yfr62zxgNeX4lMxRBUO1lJe+WcHj1oGiSJ3zF1YsMir/QtxKYgvEhJMbM4 -Bh2b69Qax8n5dbGc54fiCZnLOChwidafPyJR1vY/WwcMDzCuUTlHDTHuVt53hocT -DLrteBPZNoYDkDSv8OysQ2BMrvcpIadRnFFUUc8fsmjTf8T9HLMx+PDbeh6fHDnm -KBCqsLlNgKRLJAINRvf626otszi5Bp5Fla/kNYZINgajEUNm2gpKJQb/4g/CF1ql -u4O9ZEECgYEA99lasThmkmOa9KQwi+uoxY3N/HzWIL440MhvPmlHaOzw6C3nqXP6 -uDgqg3ChnEj7ik0LA8O0Y2RkAJynwLrAqOyqLFstUUT1L80WyuBOuEUbrXuaNEMd -Ujy8i2iSob3uzX3b/9KfVNa5sI6fL6t+E/CzRI3T8DRt+/b7tziPTSUCgYEA95s3 -nDFUq+8y6XxBYx1Dr6Bq+9tj5ZA3tWG2LoahG3KvFxK+i0+7cu3p1lqHqlFbFkX3 -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6dDVOK84l27gxlO8DaA77ijA6jB1o1R3yvQzFrqHppHI +yHIA2kAhRqRPhAAlyhr8LTF2oP0Jxplufuc2Q503HhxBZrcSRKExhA== -----END RSA PRIVATE KEY----- diff --git a/test/fixtures/relay.json b/test/fixtures/relay.json index 4ee7bf8a8..94aab6f06 100644 --- a/test/fixtures/relay.json +++ b/test/fixtures/relay.json @@ -77,7 +77,7 @@ { "//": "query for all the file names 2 levels deep in the repo. used for auto project detection", "path": "query", - "regex": "{\\s*repositoryOwner\\(login:\\s*\"([a-zA-Z0-9-_.]+)\"\\)\\s*{\\s*repository\\(name:\\s*\"([a-zA-Z0-9-_.]+)\"\\)\\s*{\\s*object\\(expression:\\s*\"([a-zA-Z0-9-_./:]+)\"\\)\\s*{\\s*\\.\\.\\.\\s*on\\s+Tree\\s+{\\s*entries\\s*{\\s*name\\s+type\\s+object\\s*{\\s*\\.\\.\\.\\s*on\\s+Tree\\s+{\\s*entries\\s*{\\s*name\\s+type\\s+object\\s*{\\s*\\.\\.\\.on\\s+Tree\\s*{\\s*entries\\s*{\\s*name\\s+type\\s*}\\s*}\\s*}\\s*}\\s*}\\s*}\\s*}\\s*}\\s*}\\s*}\\s*}\\s*}" + "regex": "{\\s*repositoryOwner\\(login:\\s*\"([a-zA-Z0-9-_.]+)\"\\)\\s*{\\s*repository\\(name:\\s*\"([a-zA-Z0-9-_.]+)\"\\)\\s*{\\s*object\\(expression:\\s*\"([a-zA-Z0-9-_./:]+)\"\\)\\s*{\\s*\\.\\.\\.\\s*on\\s+Tree\\s+{\\s*entries\\s*{\\s*name\\s+type\\s+object\\s*{\\s*\\.\\.\\.\\s*on\\s+Tree\\s+{\\s*entries\\s*{\\s*name\\s+type\\s+object\\s*{\\s*\\.\\.\\.\\s*on\\s+Tree\\s*{\\s*entries\\s*{\\s*name\\s+type\\s*}\\s*}\\s*}\\s*}\\s*}\\s*}\\s*}\\s*}\\s*}\\s*}\\s*}\\s*}" } ] } diff --git a/test/unit/filters.test.js b/test/unit/filters.test.js index 07f040bd2..8dbd089b6 100644 --- a/test/unit/filters.test.js +++ b/test/unit/filters.test.js @@ -77,7 +77,7 @@ test('filter on body', t => { body: jsonBuffer({ query: `{ repositoryOwner(login: "_REPO_OWNER_") { - repository(name: "_REPO_NAME_") { + repository(name: "_REPO-NAME_") { object(expression: "_BRANCH_/_NAME_") { ... on Tree { entries { @@ -89,7 +89,7 @@ test('filter on body', t => { name type object { - ...on Tree { + ... on Tree { entries { name type @@ -130,7 +130,7 @@ test('filter on body', t => { name type object { - ...on Tree { + ... on Tree { entries { name type