[Rt-commit] rt branch 4.4/docker-testing-buster updated. rt-4.4.6-24-g50d3d4ce9a

BPS Git Server git at git.bestpractical.com
Tue Jul 26 21:48:45 UTC 2022


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".

The branch, 4.4/docker-testing-buster has been updated
       via  50d3d4ce9a3c1e7488102a5ff16b683098f5bf99 (commit)
      from  67341128a3b8894e0ef7e1907f2188ec1a5574b9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 50d3d4ce9a3c1e7488102a5ff16b683098f5bf99
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Wed Jul 27 05:46:00 2022 +0800

    Set MasonLocalComponentRoot via RT->Config->Set so apache can see it

diff --git a/t/web/mason-cache.t b/t/web/mason-cache.t
index 237d77e82f..1620eaef23 100644
--- a/t/web/mason-cache.t
+++ b/t/web/mason-cache.t
@@ -24,7 +24,8 @@ EOF
 
 update_mason( $hello, 'Hello world!' );
 
-$RT::MasonLocalComponentRoot = $dir;
+# Save it in site config file, so apache can see it
+RT->Config->Set( MasonLocalComponentRoot => $dir );
 
 my ( $baseurl, $m ) = RT::Test->started_ok;
 my $ticket = RT::Test->create_ticket( Queue => 'General', Subject => 'test mason cache' );

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

Summary of changes:
 t/web/mason-cache.t | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
rt


More information about the rt-commit mailing list