From a6562452cefbdcc5b7b04fe2edf1854224df9a75 Mon Sep 17 00:00:00 2001 From: Andrew Short Date: Sat, 24 Oct 2009 22:39:20 +0000 Subject: [PATCH] MINOR: Fixed an incorrect join name being used in DataObjectTest. From: Andrew Short git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@90074 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- tests/DataObjectTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/DataObjectTest.php b/tests/DataObjectTest.php index b6053ef05..7e23ee32d 100755 --- a/tests/DataObjectTest.php +++ b/tests/DataObjectTest.php @@ -1018,8 +1018,8 @@ class DataObjectTest_Staff extends DataObject { class DataObjectTest_CEO extends DataObjectTest_Staff { public static $belongs_to = array ( - 'Company' => 'DataObjectTest_Company.CEO', - 'AnotherCompany' => 'DataObjectTest_Company.PreviousCEO' + 'Company' => 'DataObjectTest_Company.CEO', + 'PreviousCompany' => 'DataObjectTest_Company.PreviousCEO' ); }