Skip to content

Commit fec7122

Browse files
committed
test: remove dynamic property creation for Model
It is not documented, and I don't see it is needed.
1 parent c3ea0e7 commit fec7122

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

tests/system/Models/GeneralModelTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,6 @@ public function testMagicGetters(): void
7171
$this->assertFalse(isset($this->model->foobar));
7272
$this->assertNull($this->model->foobar);
7373

74-
$this->model->flavor = 'chocolate';
75-
$this->assertTrue(isset($this->model->flavor));
76-
$this->assertSame('chocolate', $this->model->flavor);
77-
7874
// from DB
7975
$this->assertTrue(isset($this->model->DBPrefix));
8076
$this->assertSame('utf8', $this->model->charset);

0 commit comments

Comments
 (0)