Skip to content

Commit

Permalink
Update tests/php/ORM/DBCompositeTest.php
Browse files Browse the repository at this point in the history
Co-authored-by: Guy Sartorelli <[email protected]>
  • Loading branch information
lekoala and GuySartorelli authored Aug 14, 2023
1 parent 0d4231a commit 637859a
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions tests/php/ORM/DBCompositeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,19 +114,6 @@ public function testInheritedTables()
$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();
Expand Down

0 comments on commit 637859a

Please sign in to comment.