aboutsummaryrefslogtreecommitdiffstats
path: root/t/Cobrand.t
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-06-07 18:01:18 +0100
committerStruan Donald <struan@exo.org.uk>2011-06-07 18:01:18 +0100
commitdb5da038ea3a3264b4bae2490dbd877cba2ecab0 (patch)
tree561f6d2ea01ba93f968d5124a2f95714376fb194 /t/Cobrand.t
parent673a2879a74d0d71c4d3be0b9c7ee567cf72b219 (diff)
parentf128b19cf7bf0da5dd445dc39d1a09e8953fc32d (diff)
Merge branch 'migrate_to_catalyst' of ssh://git.mysociety.org/data/git/public/fixmystreet into migrate_to_catalyst
Diffstat (limited to 't/Cobrand.t')
-rwxr-xr-xt/Cobrand.t7
1 files changed, 7 insertions, 0 deletions
diff --git a/t/Cobrand.t b/t/Cobrand.t
index d3857e523..047fcc71c 100755
--- a/t/Cobrand.t
+++ b/t/Cobrand.t
@@ -21,7 +21,14 @@ use lib "$FindBin::Bin/../perllib";
use lib "$FindBin::Bin/../commonlib/perllib";
use Cobrand;
+use Problems;
use mySociety::MockQuery;
+use mySociety::Config;
+
+BEGIN {
+ (my $dir = __FILE__) =~ s{/[^/]*?$}{};
+ mySociety::Config::set_file("$dir/../conf/general");
+}
sub test_site_restriction {
my ($site_restriction, $site_id) = Cobrand::site_restriction('mysite', 'test');