diff options
author | sunnavy <sunnavy@bestpractical.com> | 2022-07-27 00:46:00 +0300 |
---|---|---|
committer | sunnavy <sunnavy@bestpractical.com> | 2022-07-27 00:47:32 +0300 |
commit | 50d3d4ce9a3c1e7488102a5ff16b683098f5bf99 (patch) | |
tree | 3c8757d1efc4f5b823d7870982556d8d8d9d91d7 | |
parent | 67341128a3b8894e0ef7e1907f2188ec1a5574b9 (diff) |
Set MasonLocalComponentRoot via RT->Config->Set so apache can see it4.4/docker-testing-buster
-rw-r--r-- | t/web/mason-cache.t | 3 |
1 files changed, 2 insertions, 1 deletions
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' ); |