mirror of
https://github.com/EZ-Api/ez-api.git
synced 2026-01-14 01:02:32 +00:00
test(service): add golden file validation and master key tests
- Update TESTING.md to reflect current testing status and future plans - Add golden file comparison for provider snapshot validation in sync_test.go - Introduce master_test.go for testing Master/Key functionality - Add testdata directory for contract testing snapshots
This commit is contained in:
13
internal/service/testdata/provider_snapshot.json
vendored
Normal file
13
internal/service/testdata/provider_snapshot.json
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"id": 42,
|
||||
"name": "p1",
|
||||
"type": "vertex-express",
|
||||
"base_url": "",
|
||||
"api_key": "",
|
||||
"google_location": "global",
|
||||
"group": "default",
|
||||
"models": ["gemini-3-pro-preview"],
|
||||
"status": "active",
|
||||
"auto_ban": true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user