projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
rename occurences of belongs_to in tests
[dbsrgits/DBIx-Class.git]
/
t
/
lib
/
DBICTest
/
Schema
/
ForceForeign.pm
diff --git
a/t/lib/DBICTest/Schema/ForceForeign.pm
b/t/lib/DBICTest/Schema/ForceForeign.pm
index
a870f3e
..
f7c7870
100644
(file)
--- a/
t/lib/DBICTest/Schema/ForceForeign.pm
+++ b/
t/lib/DBICTest/Schema/ForceForeign.pm
@@
-27,7
+27,7
@@
__PACKAGE__->might_have('cd_1', 'DBICTest::Schema::CD',
);
# Normally this would appear as a FK constraint
-__PACKAGE__->belongs_to('cd_3', 'DBICTest::Schema::CD',
+__PACKAGE__->refers_to('cd_3', 'DBICTest::Schema::CD',
{ 'foreign.cdid' => 'self.cd' },
{ is_foreign_key_constraint => 0 },
);