[Rt-commit] r18136 - in rt/3.999/branches/merge_to_3.8.2: .
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Tue Feb 3 00:12:20 EST 2009
Author: sunnavy
Date: Tue Feb 3 00:12:17 2009
New Revision: 18136
Modified:
rt/3.999/branches/merge_to_3.8.2/ (props changed)
rt/3.999/branches/merge_to_3.8.2/t/savedsearch.t
Log:
r19454 at sunnavys-mb: sunnavy | 2009-02-03 12:09:16 +0800
fix for t/savedsearch.t
Modified: rt/3.999/branches/merge_to_3.8.2/t/savedsearch.t
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/t/savedsearch.t (original)
+++ rt/3.999/branches/merge_to_3.8.2/t/savedsearch.t Tue Feb 3 00:12:17 2009
@@ -147,12 +147,11 @@
# This should fail -- no permission.
+my $loadedsearch4 = RT::SavedSearch->new(current_user => $curruser);
+
warning_like {
$loadedsearch4->load($othersearch->privacy, $othersearch->id);
} qr/Could not load object RT::Model::Group-\d+ when loading search/;
-
-my $loadedsearch4 = RT::SavedSearch->new(current_user => $curruser);
-$loadedsearch4->load($othersearch->privacy, $othersearch->id);
isnt($loadedsearch4->id, $othersearch->id, "Did not load othersearch");
# Try to update an existing search.
More information about the Rt-commit
mailing list