test: remove dynamic property creation for Model

It is not documented, and I don't see it is needed.
This commit is contained in:
kenjis 2022-10-12 10:03:41 +09:00
parent c3ea0e744d
commit fec7122da5
No known key found for this signature in database
GPG Key ID: BD254878922AF198

View File

@ -71,10 +71,6 @@ final class GeneralModelTest extends CIUnitTestCase
$this->assertFalse(isset($this->model->foobar));
$this->assertNull($this->model->foobar);
$this->model->flavor = 'chocolate';
$this->assertTrue(isset($this->model->flavor));
$this->assertSame('chocolate', $this->model->flavor);
// from DB
$this->assertTrue(isset($this->model->DBPrefix));
$this->assertSame('utf8', $this->model->charset);