diff options
Diffstat (limited to 't/app/model/problem.t')
-rw-r--r-- | t/app/model/problem.t | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/app/model/problem.t b/t/app/model/problem.t index 8c3ea10c5..8aabce4f7 100644 --- a/t/app/model/problem.t +++ b/t/app/model/problem.t @@ -491,6 +491,10 @@ foreach my $test ( { } )->update( { whensent => \'ms_current_timestamp()' } ); + if ( $test->{cobrand} && $test->{cobrand} =~ /lichfielddc/ && !FixMyStreet::Cobrand->exists('lichfielddc') ) { + plan skip_all => 'Skipping Lichfield tests without Lichfield cobrand'; + } + $problem->discard_changes; $problem->update( { council => $test->{ council }, |