mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Update tests/php/ORM/DBCompositeTest.php
Co-authored-by: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com>
This commit is contained in:
parent
0d4231abb8
commit
637859a1f4
@ -114,19 +114,6 @@ class DBCompositeTest extends SapphireTest
|
||||
$this->assertEquals('DBCompositeTest_SubclassedDBFieldObject', $object2->dbObject('OverriddenMoney')->getTable());
|
||||
}
|
||||
|
||||
/* Uncomment this for SS5
|
||||
public function testSetFieldDynamicPropertyException()
|
||||
{
|
||||
$this->expectException(InvalidArgumentException::class);
|
||||
$this->expectExceptionMessage(implode(' ', [
|
||||
'Field abc does not exist.',
|
||||
'If this was accessed via a dynamic property then call setDynamicData() instead.'
|
||||
]));
|
||||
$object = new DBCompositeTest\TestObject();
|
||||
$object->MyMoney->abc = 'def';
|
||||
}
|
||||
*/
|
||||
|
||||
public function testWriteToManipuationIsCalledWhenWritingDataObject()
|
||||
{
|
||||
$obj = DBCompositeTest\TestObject::create();
|
||||
|
Loading…
Reference in New Issue
Block a user