mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-11-13 20:08:36 +02:00
Add a test seeder behind the unsafe_test_mode feature
For the end-to-end tests: with the feature, /test/seeder answers the calls the SDK's live tests make to a seeder API (POST /seed with SingleUserScene or TestVectorUserScene, DELETE /seed/<playId>), behind HTTP basic auth from TEST_SEEDER_USERNAME and TEST_SEEDER_PASSWORD, and 404 without them. It creates accounts without any checks, so no release build has the feature. CI builds and tests it with sqlite.
This commit is contained in:
9 files changed
+630
-1
No files matched your search
Generated
+1
@@ -6270,6 +6270,7 @@ dependencies = [
|
||||
"rustls",
|
||||
"semver",
|
||||
"serde",
|
||||
"serde_cbor_2",
|
||||
"serde_json",
|
||||
"subtle",
|
||||
"svg-hush",
|
||||
|
||||
Reference in new issue
Block a user