#!/usr/bin/env perl
use strict;
use warnings;
use Test::Most;
use Test::WWW::Mechanize;
use Test::JSON;

my $base = $ENV{CASHMUSIC_TEST_URL} || 'http://localhost:80';
my $mech = Test::WWW::Mechanize->new;

BEGIN {
    # Run the test installer every time we run these tests
    qx "php installers/php/test_installer.php";
}

my @settings = qw/mailchimp amazon twitter/;
map { $mech->get_ok("$base/interfaces/php/admin/settings/add/com.$_") } @settings;

done_testing();

Add some admin settings integration tests
Add some admin settings integration tests
