From 637859a1f45d50978b93e12bc90f1a21079a7678 Mon Sep 17 00:00:00 2001 From: Thomas Portelange Date: Mon, 14 Aug 2023 09:26:33 +0200 Subject: [PATCH] Update tests/php/ORM/DBCompositeTest.php Co-authored-by: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> --- tests/php/ORM/DBCompositeTest.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tests/php/ORM/DBCompositeTest.php b/tests/php/ORM/DBCompositeTest.php index d43cf5fd8..c4fe99ecc 100644 --- a/tests/php/ORM/DBCompositeTest.php +++ b/tests/php/ORM/DBCompositeTest.php @@ -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();