[Rt-commit] r4930 - rtir/branches/1.9-EXPERIMENTAL/t
glasser at bestpractical.com
glasser at bestpractical.com
Fri Mar 31 16:03:21 EST 2006
Author: glasser
Date: Fri Mar 31 16:03:20 2006
New Revision: 4930
Modified:
rtir/branches/1.9-EXPERIMENTAL/t/005-resolve-investigations.t
Log:
test re-opening investigation
Modified: rtir/branches/1.9-EXPERIMENTAL/t/005-resolve-investigations.t
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/t/005-resolve-investigations.t (original)
+++ rtir/branches/1.9-EXPERIMENTAL/t/005-resolve-investigations.t Fri Mar 31 16:03:20 2006
@@ -2,7 +2,7 @@
use strict;
use warnings;
-use Test::More tests => 20;
+use Test::More tests => 22;
require "t/rtir-test.pl";
@@ -28,3 +28,6 @@
is ($agent->status, 200, "attempt to resolve inv succeeded");
like($agent->content, qr/State changed from open to resolved/, "site says ticket got resolved");
+
+$agent->follow_link_ok({text => "Open"}, "Followed 'open' link");
+like($agent->content, qr/State changed from resolved to open/, "site says ticket got re-opened");
More information about the Rt-commit
mailing list