fix: Cleanup blueprint names and add tests
All checks were successful
Build Docker / BuildImage (push) Successful in 2m17s

This commit is contained in:
2025-10-13 15:32:31 +11:00
parent 3d5c16f9cb
commit 7f591e2724
16 changed files with 320 additions and 201 deletions

41
tests/legacy_api.hurl Normal file
View File

@@ -0,0 +1,41 @@
GET http://127.0.0.1:5000/api/help
HTTP 301
[Asserts]
header "Location" == "/api/v1/help"
GET http://127.0.0.1:5000/api/ip
HTTP 301
[Asserts]
header "Location" == "/api/v1/ip"
GET http://127.0.0.1:5000/api/message
HTTP 301
[Asserts]
header "Location" == "/api/v1/message"
GET http://127.0.0.1:5000/api/project
HTTP 301
[Asserts]
header "Location" == "/api/v1/project"
GET http://127.0.0.1:5000/api/donate
HTTP 301
[Asserts]
header "Location" == "/api/v1/donate"
GET http://127.0.0.1:5000/api/time
HTTP 301
[Asserts]
header "Location" == "/api/v1/time"
GET http://127.0.0.1:5000/api/timezone
HTTP 301
[Asserts]
header "Location" == "/api/v1/timezone"
GET http://127.0.0.1:5000/api/version
HTTP 301
[Asserts]
header "Location" == "/api/v1/version"