diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2019-11-23 18:00:52 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2019-11-23 18:30:46 +0100 |
commit | 2422fb020b79b387ef667d146cf3e0dd7b1faebf (patch) | |
tree | 4cfc7ab7f9e81ee1f6aa49dc6106a0e6960c5797 /test | |
parent | 4b97789bab8dae01987ffa4cdeb1e1257c95834f (diff) | |
download | aur-2422fb020b79b387ef667d146cf3e0dd7b1faebf.tar.gz aur-2422fb020b79b387ef667d146cf3e0dd7b1faebf.tar.xz |
Store timestamp and user ID when closing requests
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'test')
-rwxr-xr-x | test/t1200-git-serve.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/t1200-git-serve.sh b/test/t1200-git-serve.sh index 473065fc..e817b2cf 100755 --- a/test/t1200-git-serve.sh +++ b/test/t1200-git-serve.sh @@ -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 ' |