mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix: include package data without "Last Packager"
Data for packages that do not have a "Last Packager" (e.g. because the user account was deleted) should still be available from the /rpc and metadata archives. Signed-off-by: moson-mo <mo-son@mailbox.org>
This commit is contained in:
parent
8d2e176c2f
commit
0c5b4721d6
8 changed files with 11 additions and 45 deletions
|
@ -845,7 +845,7 @@ def test_rpc_msearch(client: TestClient, user: User, packages: list[Package]):
|
|||
params.pop("arg")
|
||||
response = request.get("/rpc", params=params)
|
||||
data = response.json()
|
||||
assert data.get("resultcount") == 1
|
||||
assert data.get("resultcount") == 2
|
||||
result = data.get("results")[0]
|
||||
assert result.get("Name") == "big-chungus"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue