mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Store timestamp and user ID when closing requests
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
4b97789bab
commit
2422fb020b
5 changed files with 21 additions and 6 deletions
|
@ -381,9 +381,9 @@ test_expect_success "Check whether package requests are closed when disowning."
|
|||
grep "^Subject.*PRQ" sendmail.out >sendmail.parts &&
|
||||
test_cmp sendmail.parts expected &&
|
||||
cat <<-EOD >expected &&
|
||||
1|2|3|foobar||4||The user user disowned the package.|0|2
|
||||
1|2||The user user disowned the package.
|
||||
EOD
|
||||
echo "SELECT * FROM PackageRequests WHERE Status = 2;" | sqlite3 aur.db >actual &&
|
||||
echo "SELECT ID, Status, ClosedUID, ClosureComment FROM PackageRequests WHERE ClosedTS > 0;" | sqlite3 aur.db >actual &&
|
||||
test_cmp actual expected
|
||||
'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue