aboutsummaryrefslogtreecommitdiffstats
path: root/t/00-check-we-are-staging.t
blob: 072b5df76ce80e1fd9d7ee50031ae36ddf77b549 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use strict;
use warnings;

use Test::More;

use FixMyStreet;

# check that we are running on staging

BAIL_OUT( "Test suite modifies databases so should not be run on live servers" )
    unless FixMyStreet->config('STAGING_SITE');

my $staging = FixMyStreet->config('STAGING_SITE');
ok $staging, 'staging server';

done_testing();