mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
test: remove dynamic property creation for Model
It is not documented, and I don't see it is needed.
This commit is contained in:
parent
c3ea0e744d
commit
fec7122da5
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user