Dancer2-Plugin-Interchange6

 view release on metacpan or  search on metacpan

t/environment/disabled_cart_and_checkout.yml  view on Meta::CPAN

plugins:
  DBIC:
    default:
      dsn: 'dbi:SQLite:dbname=:memory:'
      options:
        on_connect_call: use_foreign_keys
        on_connect_do: 'PRAGMA synchronous = OFF'
        quote_names: 1
        sqlite_unicode: 1
  'Interchange6::Routes':
    navigation: ~
    cart:
      active: 0
    checkout:
      active: 0
session: DBIC
engines:
  session:
    DBIC:

t/environment/sqlite.yml  view on Meta::CPAN

plugins:
  DBIC:
    default:
      dsn: 'dbi:SQLite:dbname=:memory:'
      options:
        on_connect_call: use_foreign_keys
        on_connect_do: 'PRAGMA synchronous = OFF'
        quote_names: 1
        sqlite_unicode: 1
session: DBIC
engines:
  session:
    DBIC:
      db_connection_name: default

t/test_mysql.t  view on Meta::CPAN

    CLEANUP  => 1,
    TEMPLATE => 'ic6s_test_XXXXX',
    TMPDIR   => 1,
);

no warnings 'once';    # prevent: "Test::mysqld::errstr" used only once
my $mysqld = Test::mysqld->new(
    base_dir => $tempdir,
    my_cnf   => {
        'character-set-server' => 'utf8',
        'collation-server'     => 'utf8_unicode_ci',
        'skip-networking'      => '',
    }
) or plan skip_all => "Test::mysqld died: " . $Test::mysqld::errstr;
use warnings 'once';

my $dsn = $mysqld->dsn( dbname => 'test' );

Deploy::deploy($dsn);

my @test_classes;



( run in 0.626 second using v1.01-cache-2.11-cpan-f29a10751f0 )