From 390a05cdedfd50076cca078363a33533e4736889 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20D=E2=80=99Aquino?= Date: Wed, 6 Mar 2024 19:58:33 +0000 Subject: [PATCH] Remove IAP environment dependencies from tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit removes IAP environment dependencies from tests, to ensure that anyone can run tests even with no environment setup. Testing: Moved `.env` file elsewhere to simulate a fresh environment. Ran tests and ensured they are passing. Closes: https://github.com/damus-io/damus/issues/2034 Signed-off-by: Daniel D’Aquino Signed-off-by: William Casarin --- .gitignore | 1 - apple-root-ca/AppleComputerRootCertificate.cer | Bin 0 -> 1470 bytes apple-root-ca/AppleIncRootCertificate.cer | Bin 0 -> 1215 bytes apple-root-ca/AppleRootCA-G2.cer | Bin 0 -> 1430 bytes apple-root-ca/AppleRootCA-G3.cer | Bin 0 -> 583 bytes test/controllers/purple_test_controller.js | 7 +++++++ test_utils/mock.p8 | 0 7 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 apple-root-ca/AppleComputerRootCertificate.cer create mode 100644 apple-root-ca/AppleIncRootCertificate.cer create mode 100644 apple-root-ca/AppleRootCA-G2.cer create mode 100644 apple-root-ca/AppleRootCA-G3.cer create mode 100644 test_utils/mock.p8 diff --git a/.gitignore b/.gitignore index 2e83c9a..ac8d55b 100644 --- a/.gitignore +++ b/.gitignore @@ -12,7 +12,6 @@ result-4 # App Store private keys *.p8 -apple-root-ca # macOS Finder .DS_Store diff --git a/apple-root-ca/AppleComputerRootCertificate.cer b/apple-root-ca/AppleComputerRootCertificate.cer new file mode 100644 index 0000000000000000000000000000000000000000..8ccb85c5e90e419865b0ee0fa1879d118972f878 GIT binary patch literal 1470 zcmXqLV%=rX#Ik4sGZP~d6CP z=PUbaB?G1x5_UfVI4{>bu9)%j;;FPbD%pY;7Vmx{t#w#_>bxqRCGOqPSH#SXPaom; zJtvZR@uXzY*I2%*_3^VmsWR^h?e~r4{g`5^Eb1*9DZ6>f_iuCNoe$V`Fd`tmpJR){ z_tR^16!HtU*)tmSYFiGSy|?&P}}Cv)wz?N+O`U-*Rg11Ex849w|xU7HD>CH|}cOXb|xx zip8iWV{^akz0~6W>2axhJa3fEHx@}Y;^HehmRXJQmH%_u1;D7Mnq zFE20GO9Z8Hz2y8{{bWS?O@t+1ePFuJE!N8@$;~lnJPbF3$)ItYRO9BL)SS%3yyR4c z{5*w{jLc#MBqJ1(Disp*DisP6i%Nj3;^NZW)MACiU+kS1-9J#~>6I6pV~4 zo(Ap)t}wmVXU(Q9MQ z=(W$146|OW*T1@6F1)P2-dtCYDdukS$xnql)Ew@M_LjQXSMGf#JM*Elj@{b)eLI)@ z<1>{EOx}3--quNWffbC!T}zZtE$R3u7bEW|rdv0aYt_q6#~IR6cTX$qcaP&yI~r>0 sd(5DFX1d66PWfH#$8RxmwyQWz-7B0R$@TtKJzw70gD%ciURNIj0LeB5MF0Q* literal 0 HcmV?d00001 diff --git a/apple-root-ca/AppleIncRootCertificate.cer b/apple-root-ca/AppleIncRootCertificate.cer new file mode 100644 index 0000000000000000000000000000000000000000..8a9ff247419dd22a07c837ba7394aeabdd0f14e2 GIT binary patch literal 1215 zcmXqLV%crb#JqR`GZP~d5E<~YacZ@Bw0-AgWMpM!Fi0}wHsEAq4rO5zW(o~96gCh9 zakzxJ9199^QWZS&lJyML3{*gZ+`_UDLFd$>lFYQsBg2!4D>>yS-j;I@c+L7YuChh5U7`KHvAiEsOqE5wMI&W5Px=0B&b;#hyADPKr1x`dQTTp(jgCTo z!8UtFgP!fq=lSQ_e%AKXkUH`2+}53ZH{)ckownU-we|}?AHyW>jf!G=C0A{DZzqYZ zUR*fIJvj8>dVR;uKYl+hIQwj|k87R0Pjj_t->jT;Rj-bAq&^<-@B zm%W!-{69S|b&uzbviZg$sSC@eoYZAvW@KPo+{9P~43RPeK43h`@-s62XJG-R8#V)e z5MLO?XEk63QUIB4HrbfL%co zBPgB8DzG#$asX{)0b&Md!c0zKWi)8~WT3^yq0I(NqwGwKVsaTJB?ZM+`ugSN<$8&r zl&P1TpQ{gMB`4||G#-X4W-@5pCe^q(C^aWDF)uk)0hmHdGBS%5lHrLqRUxTTAu+E~ zp&+rS1js5bF3n9XR!B@vPAw>b=t%?WNd@6N1&|%Uq@D!K48=g%l*FPGg_6{wT%d-$ z6ouscyp&8(HYirePg5u@PSruNs30Gx7i1YwCER{crYR^&OfJa;IuB@ONosCtUP-YY za{2^jO7!e*{cX?eJDxY@8r; zW8atJ+3zl;@Sm>qH@UIM?q|jS>=W#7YAu_)gB31Y9ND;kmOoeaf9*e!%UL;V#2vx} zUUwk!R<>!CBEM2a=7;zgw~E zguTASugG_6SFxo3)|+Pa2irq$E}yy6$m#cutA+FG76xsX-aFYzMMzw9>OIdRD+ Xyc@&=R&`yy_2kb5PImJRrKO4hMS!&; literal 0 HcmV?d00001 diff --git a/apple-root-ca/AppleRootCA-G2.cer b/apple-root-ca/AppleRootCA-G2.cer new file mode 100644 index 0000000000000000000000000000000000000000..739b8141312801fc4e88396bf4366075e2711173 GIT binary patch literal 1430 zcmXqLVx45r#9Xz2nTe5!iG%UM)2+?viys*9vTOAw3^$fWUI6;DJ!c3vT26E!Oh9(9k#s-EKh6V@Moh?3yZ7ptT%{oZtmbE?IX_gbDkv37-N%oe}J zzP5HeiJHX2V)W^R!|$N@`QHwFe7wtbLBLg^?oW5`O>9&C@O4{}9^)$g`tk5`oHG2U-jvVF(JFAtQy>@PC8|Gm+-ur_evqs<>KYls!+pFOkI zyw>maT8D@Bjeoz}a@j5VxYux+X5^hik_|o4CC79w3k0jliufP7(wJt`o^Grz!truT zd5cLk8RGj7?_MQ5Sw1#If5q{d-@GFGL~T_}KFzvQ>X@dqh4C8q`U&%RUM2mQ z9cjbyXqw5BL}ue|2zV0PvXSiivJZh)`o?5)W*}w22NK{1 z39tY&9UF2g175L?oeT7jmWF>&3sQpoaUAA37lOmwM#Iu zvEs(Zt*#Cgt5+O2_q#UPJmcH*-|LSZ_I@L8rY0QHHl=9OE2g*IxleeOO*jx$J&Y#WKm>kMqyI%SzoNwLx|7a?QVA>=u=J?w@!2U}iCt+`i2!(e>BKPs%5fi}#0h8g95*leD~AbVWzkY72)$XN3NX zKK@{S-@NGbnHkUaFWU19&c)8#u)Swc2lF=;T`x`$uV~zj- literal 0 HcmV?d00001 diff --git a/apple-root-ca/AppleRootCA-G3.cer b/apple-root-ca/AppleRootCA-G3.cer new file mode 100644 index 0000000000000000000000000000000000000000..228bfa39cbd5acfe53fb9d196e3c1bbbd28649f8 GIT binary patch literal 583 zcmXqLVsbWUVm!HknTe5!i9`43pN>mMy{8&*v2kd%d7QIlVP-Z+HbQ8gAnH8xlJyL^4LCu9Y{E>T!3J{TyoM$QCdLMa7KWAvW>Mn2#+FE2`Z=V` zK!A-M?0+UkHdgIM76v8eBnFllFZFF5ik7^ctW?w}EOS?2>c^vt{R;1hh~4CSx{Ot; zJf%9`&*JiK8JDf~U*)$MCB>e6*%Iw<;4c`(@HZlYXX#gd9ba~L;nG{vr%%r}jCrd) zw_3sa#?FwNaWj`#1#%fKb~11^i`@ju(^Y`3K= md8u*U