]> git.evergreen-ils.org Git - Evergreen.git/commit
Fix purge_user_activity.pg live test
authorChris Sharp <csharp@georgialibraries.org>
Tue, 8 Nov 2016 00:10:06 +0000 (19:10 -0500)
committerJason Stephenson <jason@sigio.com>
Tue, 8 Nov 2016 15:25:10 +0000 (10:25 -0500)
commitc62be1823e23f07949937538f1601d8c09af3bdf
treefa9d016346b41020fa2aaa26fde7d7eb6460ce93
parentad0f60ac409b8434a5ee3e552b2efa0358ae6a00
Fix purge_user_activity.pg live test

The purge_user_activity.pg test inserts rows into actor.usr_activity
in a random date order, but the changes in bug 1570909 created a trigger
that overwrites the previous entry for a transient type, causing the
test to fail.  We reorder the usr_activity rows so that the most recent
row will be in place.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Open-ILS/src/sql/Pg/live_t/purge-user-activity.pg