fix(test): указать хранилище в фикстуре резервных копий
This commit is contained in:
1 parent
4ae2954f97
commit
b460997cbf
3 files changed
+14
-2
No files matched your search
@@ -15,7 +15,7 @@ const certificates = certificatesListResponseSchema.parse({ failures: [], certif
|
||||
daysLeft: 300 + i, keySize: 2048, usage: ["server"], trusted: true, status: "valid",
|
||||
})) })
|
||||
const backups: BackupItem[] = ids.map(i => ({ id: String(i), serverId: 1, serverName: "Тестовый роутер",
|
||||
filename: `backup-${i}.backup`, sizeBytes: i === 12 ? 1048576 : i * 1024, createdAt: "2026-09-14T00:00:00Z", kind: i > 6 ? "auto" : "manual" }))
|
||||
filename: `backup-${i}.backup`, sizeBytes: i === 12 ? 1048576 : i * 1024, createdAt: "2026-09-14T00:00:00Z", kind: i > 6 ? "auto" : "manual", storage: "local" }))
|
||||
|
||||
async function setup(page: Page, url: string) {
|
||||
await page.route("**/health", route => route.fulfill({ json: { ok: true } }))
|
||||
|
||||
Reference in new issue
Block a user