projects
/
dbsrgits/DBIx-Class.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
a5b2936
)
Make t/93single_accessor_object.t work under DBICTEST_SQLT_DEPLOY=1, although I am...
Peter Rabbitson [Mon, 22 Sep 2008 00:34:54 +0000 (
00:34
+0000)]
t/93single_accessor_object.t
patch
|
blob
|
blame
|
history
diff --git
a/t/93single_accessor_object.t
b/t/93single_accessor_object.t
index
287785f
..
2303bdb
100644
(file)
--- a/
t/93single_accessor_object.t
+++ b/
t/93single_accessor_object.t
@@
-56,7
+56,7
@@
$schema = DBICTest->init_schema();
{
my $artist = $schema->resultset('Artist')->create({ artistid => 666, name => 'bad religion' });
- my $genre = $schema->resultset('Genre')->create({ name => 'disco' });
+ my $genre = $schema->resultset('Genre')->create({ genreid => 88, name => 'disco' });
my $cd = $schema->resultset('CD')->create({ cdid => 187, artist => 1, title => 'how could hell be any worse?', year => 1982 });
dies_ok { $cd->genre } 'genre accessor throws without column';