Now throws exceptions when id_field is invalid or can not be determined
[catagits/Catalyst-Authentication-Store-DBIx-Class.git] / t / lib / TestApp / Model / TestApp.pm
1 package TestApp::Model::TestApp;
2
3 use base qw/Catalyst::Model::DBIC::Schema/;
4 use strict;
5
6
7 our $db_file = $ENV{TESTAPP_DB_FILE};
8
9 __PACKAGE__->config(
10     schema_class => 'TestApp::Schema',
11     connect_info => [ "dbi:SQLite:$db_file",
12               '',
13               '',
14               { AutoCommit => 1 },
15             ],
16
17 );
18
19 # Load all of the classes
20 #__PACKAGE__->load_classes(qw/Role User UserRole/);
21
22
23 1;