[Rt-commit] rt branch, 4.4/external-storage, updated. rt-4.2.11-40-gc8b6bd0

Shawn Moore shawn at bestpractical.com
Fri May 22 15:07:56 EDT 2015


The branch, 4.4/external-storage has been updated
       via  c8b6bd021cddf2efe083523dc0971b446c80167c (commit)
      from  59f2652347edbc789665e4dc0a9af403d88fc059 (commit)

Summary of changes:
 sbin/rt-externalize-attachments.in | 2 +-
 t/externalstorage/basic.t          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 mode change 100755 => 100644 sbin/rt-externalize-attachments.in

- Log -----------------------------------------------------------------
commit c8b6bd021cddf2efe083523dc0971b446c80167c
Author: Shawn M Moore <shawn at bestpractical.com>
Date:   Fri May 22 19:06:03 2015 +0000

    WIP

diff --git a/sbin/rt-externalize-attachments.in b/sbin/rt-externalize-attachments.in
old mode 100755
new mode 100644
index 9a462ef..d846e80
--- a/sbin/rt-externalize-attachments.in
+++ b/sbin/rt-externalize-attachments.in
@@ -77,7 +77,7 @@ my $ExternalStorage = RT->System->ExternalStorage;
 die "\%ExternalStorage is not configured\n"
     unless $ExternalStorage;
 
-if ($ExternalStorage->Can('IsWriteable')) {
+if ($ExternalStorage->can('IsWriteable')) {
     my ($ok, $msg) = $ExternalStorage->IsWriteable;
     die $msg if !$ok;
 }
diff --git a/t/externalstorage/basic.t b/t/externalstorage/basic.t
index 3a20b21..c71935d 100644
--- a/t/externalstorage/basic.t
+++ b/t/externalstorage/basic.t
@@ -51,7 +51,7 @@ is $attachs[3]->Content, 'thing',  "Can get the binary content";
 is $attachs[3]->ContentEncoding, "none", "Content is not encoded";
 ok $attachs[3]->ShouldStoreExternally, "Will store binary data on disk";
 
-my $dir = RT::ExternalStorage::Test->attachments_dir;
+my $dir = RT::Test::ExternalStorage->attachments_dir;
 ok !<$dir/*>, "Attachments directory is empty";
 
 

-----------------------------------------------------------------------


More information about the rt-commit mailing list