96 Commits

Author SHA1 Message Date
Fang-Pen Lin
e9a8d7283f Add bdd tests for skip dns ownership challenge 2025-12-10 17:13:49 -08:00
Fang-Pen Lin
222707a5e3 Add tons of test cases 2025-12-02 20:10:51 -08:00
Fang-Pen Lin
f837f75d5e Add tests for external CA template check with dns names 2025-12-02 20:10:49 -08:00
Fang-Pen Lin
91b916c9ad Fix broken tests 2025-12-01 21:38:05 -08:00
Fang-Pen Lin
a688389599 Fix broken tests 2025-12-01 20:50:05 -08:00
Fang-Pen Lin
74cdfe97da Fix grammar 2025-12-01 19:10:16 -08:00
Fang-Pen Lin
d28bd1e4ec Add test for retry logic 2025-12-01 19:06:31 -08:00
Fang-Pen Lin
27d027519b More efficient challenge waiting 2025-12-01 18:51:48 -08:00
Sheen Capadngan
ceafaf5623 Merge remote-tracking branch 'origin/main' into misc/revamp-pki-apis 2025-11-26 04:30:18 +08:00
Sheen Capadngan
6754da9c21 misc: moved all to /cert-manager and corrected API issues 2025-11-26 03:19:55 +08:00
Fang-Pen Lin
5badff8350 Create with api-key-secret instead 2025-11-25 08:54:28 -08:00
Fang-Pen Lin
a5554c02d5 Add dns made easy test 2025-11-25 08:54:27 -08:00
Fang-Pen Lin
2026fcd628 Isolate vars 2025-11-20 09:38:11 -08:00
Fang-Pen Lin
d9d6d3b3d9 Add test to ensure that we don't create duplicate account 2025-11-20 09:38:09 -08:00
Fang-Pen Lin
9ae862fc1f Fix find existing account 2025-11-20 09:38:06 -08:00
Fang-Pen Lin
d190fb15c9 Add test to reproduce the problem 2025-11-20 09:38:04 -08:00
Fang-Pen Lin
bd8a417e56 Fix bdd tests 2025-11-20 08:57:18 -08:00
Fang-Pen Lin
877d7780f6 Better assert msg 2025-11-20 08:57:15 -08:00
Fang-Pen Lin
f23884ab12 It needs to have api prefix otherwise nginx won't even route it to the backend 2025-11-20 08:57:12 -08:00
Fang-Pen Lin
839fe9fa6b Fix import 2025-11-13 09:22:10 -08:00
Fang-Pen Lin
2f8700fdcd Allow regex for path 2025-11-13 09:22:08 -08:00
Fang-Pen Lin
95f909ebc2 More ext bdd tests 2025-11-13 09:22:05 -08:00
Fang-Pen Lin
4f17e23a95 Add todo 2025-11-13 09:22:04 -08:00
Fang-Pen Lin
7d97f3263b Create ext ca 2025-11-13 09:22:03 -08:00
Fang-Pen Lin
4b70f73362 Clean all 2025-11-13 09:22:00 -08:00
Fang-Pen Lin
1b90a1dca0 Use mock api call 2025-11-13 09:21:58 -08:00
Fang-Pen Lin
41725add64 Fix test cases 2025-11-13 09:21:50 -08:00
Fang-Pen Lin
5c69f3bbcc Add x509 asserts 2025-11-13 09:21:49 -08:00
Fang-Pen Lin
f14df38eaa Fix challenge bdd tests 2025-11-13 09:21:45 -08:00
Fang-Pen Lin
a19c840060 More tests 2025-11-13 09:21:44 -08:00
Fang-Pen Lin
d7cf08790b More tests 2025-11-13 09:21:41 -08:00
Fang-Pen Lin
771b026175 More test cases 2025-11-13 09:21:40 -08:00
Fang-Pen Lin
7de071736e Fix TTL for issuing cert 2025-11-12 09:13:14 -08:00
Fang-Pen Lin
60c428c5bb Fix provisioning profile 2025-11-12 09:12:34 -08:00
Fang-Pen Lin
1ad84f0450 Provision a new profile automatically if not provided 2025-11-12 09:12:33 -08:00
Fang-Pen Lin
97b7e6c6bf Fix broken tests 2025-11-12 09:12:31 -08:00
Fang-Pen Lin
a057100274 More test cases 2025-11-12 09:12:28 -08:00
Fang-Pen Lin
4150035fcd More test cases 2025-11-12 09:12:26 -08:00
Fang-Pen Lin
37fc100ff7 Add access control tests 2025-11-12 09:12:20 -08:00
Fang-Pen Lin
26bb0e51d8 More test cases 2025-11-12 09:12:17 -08:00
Fang-Pen Lin
8ee700bd39 More test cases 2025-11-12 09:12:16 -08:00
Fang-Pen Lin
f11c4084ac Detail and message are mostly the same for acme error, use just one to avoid conufsing 2025-11-12 09:12:14 -08:00
Fang-Pen Lin
3246b80c81 More test cases 2025-11-12 09:12:12 -08:00
Fang-Pen Lin
9e12d67e01 EAB tests 2025-11-12 09:12:11 -08:00
Fang-Pen Lin
78047fdbaa Cover all 2025-11-12 09:12:09 -08:00
Fang-Pen Lin
dc00fb3664 Fix tests 2025-11-12 09:12:04 -08:00
Fang-Pen Lin
d1dad08005 Send nonce twice 2025-11-12 09:12:03 -08:00
Fang-Pen Lin
2a4b122348 Finish infra for sending raw ACME req, add tests for nonce 2025-11-12 09:12:02 -08:00
Fang-Pen Lin
582f0bc067 Add env for bdd 2025-11-07 09:20:51 -08:00
Fang-Pen Lin
65b61514ae Fix all broken tests 2025-11-07 09:20:41 -08:00