test: properly mock api requests

This commit is contained in:
zhom
2025-08-08 07:54:11 +04:00
parent 7105f6544f
commit 6796912606
2 changed files with 11 additions and 0 deletions
+1
View File
@@ -26,6 +26,7 @@
"codegen",
"codesign",
"CTYPE",
"daijro",
"dataclasses",
"datareporting",
"datas",
+10
View File
@@ -1684,6 +1684,16 @@ mod tests {
"name": "brave-v1.81.9-universal.dmg",
"browser_download_url": "https://example.com/brave-1.81.9-universal.dmg",
"size": 200000000
},
{
"name": "brave-browser-1.81.9-linux-amd64.zip",
"browser_download_url": "https://example.com/brave-1.81.9-linux-amd64.zip",
"size": 180000000
},
{
"name": "BraveBrowserStandaloneSetup.exe",
"browser_download_url": "https://example.com/brave-1.81.9-setup.exe",
"size": 150000000
}
]
}