[Rt-commit] r13824 - in rt/3.8/trunk: t/web
sartak at bestpractical.com
sartak at bestpractical.com
Mon Jul 7 10:37:22 EDT 2008
Author: sartak
Date: Mon Jul 7 10:37:20 2008
New Revision: 13824
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/t/web/dashboards.t
Log:
r63762 at onn: sartak | 2008-07-07 10:34:14 -0400
Remove some now-unneeded tests for unsubscribing to dashboards
Modified: rt/3.8/trunk/t/web/dashboards.t
==============================================================================
--- rt/3.8/trunk/t/web/dashboards.t (original)
+++ rt/3.8/trunk/t/web/dashboards.t Mon Jul 7 10:37:20 2008
@@ -1,7 +1,7 @@
#!/usr/bin/perl -w
use strict;
-use Test::More tests => 80;
+use Test::More tests => 78;
use RT::Test;
my ($baseurl, $m) = RT::Test->started_ok;
@@ -160,14 +160,6 @@
$m->follow_link_ok({text => "Subscription"});
$m->content_contains("Modify the subscription to dashboard different dashboard");
-$m->form_name('SubscribeDashboard');
-$m->click_button(name => 'Unsubscribe');
-
-$m->content_contains("Unsubscribed to dashboard different dashboard");
-
-RT::Record->FlushCache if RT::Record->can('FlushCache');
-is($user_obj->Attributes->Named('Subscription'), 0, "no more subscriptions");
-
$m->get_ok("/Dashboards/Modify.html?id=$id&Delete=1");
$m->content_contains("Permission denied", "unable to delete dashboard because we lack DeleteOwnDashboard");
More information about the Rt-commit
mailing list