spawn/test/fixtures/hyperstack/_api_assertions.sh
A 0d494d044e
test: add missing API assertion fixtures and body validation for 8 cloud providers (#1107)
Added _api_assertions.sh fixtures for binarylane, genesiscloud, hyperstack, kamatera, latitude, ovh, scaleway, and upcloud to enable comprehensive mock test coverage. Updated _validate_body() in test/mock.sh to validate POST request bodies for all cloud providers, ensuring payload correctness. Fixed syntax error in gcore validation (!! to ;;).

Co-authored-by: Spawn Refactor Service <refactor@spawn.service>
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
2026-02-14 11:46:49 -05:00

2 lines
108 B
Bash

assert_api_called "GET" "/ssh-keys" "fetches SSH keys"
assert_api_called "POST" "/servers" "creates server"