[Rt-commit] r8460 - in rt/branches/3.7-EXPERIMENTAL-TUNIS/t: api web
ruz at bestpractical.com
ruz at bestpractical.com
Wed Aug 8 19:52:36 EDT 2007
Author: ruz
Date: Wed Aug 8 19:52:36 2007
New Revision: 8460
Modified:
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/00-mason-syntax.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/date.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/web/cf_select_one.t
Log:
* minor
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/00-mason-syntax.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/00-mason-syntax.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/00-mason-syntax.t Wed Aug 8 19:52:36 2007
@@ -12,10 +12,10 @@
no_chdir => 1,
wanted => sub {
return if /(?:\.(?:jpe?g|png|gif|rej)|\~)$/i;
- if (m!/\.svn$!) {
- $File::Find::prune = 1;
- return;
- }
+ if (m!/\.svn$!) {
+ $File::Find::prune = 1;
+ return;
+ }
return unless -f $_;
diag "testing $_" if $ENV{'TEST_VERBOSE'};
eval { compile_file($_) } and return;
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/date.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/date.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/api/date.t Wed Aug 8 19:52:36 2007
@@ -22,7 +22,6 @@
}
my $current_user;
-
{
my $user = RT::User->new($RT::SystemUser);
my($uid, $msg) = $user->Create(
@@ -32,7 +31,9 @@
);
ok($uid, "user was created") or diag("error: $msg");
$current_user = RT::CurrentUser->new($user);
+}
+{
my $date = RT::Date->new( $current_user );
is($date->Timezone, 'UTC', "dropped all timzones to UTC");
is($date->Timezone('user'), 'UTC', "dropped all timzones to UTC");
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/web/cf_select_one.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/web/cf_select_one.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/web/cf_select_one.t Wed Aug 8 19:52:36 2007
@@ -80,7 +80,7 @@
diag $msg if $msg && $ENV{'TEST_VERBOSE'};
# we use lc as we really don't care about case
- # so if we later we'll add canonicalization of value
+ # so if later we'll add canonicalization of value
# test should work
is lc $ticket->FirstCustomFieldValue( $cf_name ),
'asd', 'assigned value of the CF';
More information about the Rt-commit
mailing list