use Test::More tests => 36;
use C4::Branch;
use Koha::Database;
BEGIN {
use FindBin;
# Start transaction
my $dbh = C4::Context->dbh;
$dbh->{AutoCommit} = 0;
my $database = Koha::Database->new();
my $schema = $database->schema();
$schema->storage->txn_begin();
$dbh->{RaiseError} = 1;
# clear the slate
is( scalar(@$loop), GetBranchesCount(), 'There is the right number of branches' );
# End transaction
$dbh->rollback;
$schema->storage->txn_rollback();
-