From: Matt S Trout Date: Fri, 11 May 2007 03:03:40 +0000 (+0000) Subject: autocommit error gone for dbicadmin test X-Git-Tag: v0.08010~150^2~69 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5d61f42085d9c047b8a986e3aee4fa9aff055a1a;p=dbsrgits%2FDBIx-Class.git autocommit error gone for dbicadmin test --- diff --git a/t/89dbicadmin.t b/t/89dbicadmin.t index b62d622..4914f46 100644 --- a/t/89dbicadmin.t +++ b/t/89dbicadmin.t @@ -23,7 +23,7 @@ plan tests => 5; # tests run on windows as well my $employees = $schema->resultset('Employee'); -my $cmd = qq|$^X script/dbicadmin --schema=DBICTest::Schema --class=Employee --tlibs --connect="['dbi:SQLite:dbname=t/var/DBIxClass.db','','']" --force --tlibs|; +my $cmd = qq|$^X script/dbicadmin --schema=DBICTest::Schema --class=Employee --tlibs --connect="['dbi:SQLite:dbname=t/var/DBIxClass.db','','',{AutoCommit:1}]" --force --tlibs|; `$cmd --op=insert --set="{name:'Matt'}"`; ok( ($employees->count()==1), 'insert count' );