mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-20 08:27:21 +08:00
Removed the support for calling anonymous function returned as a property value.
This commit is contained in:
@@ -134,11 +134,6 @@ class ObjectTest extends TestCase
|
||||
$this->assertEquals('new text', $this->object->object->text);
|
||||
}
|
||||
|
||||
public function testAnonymousFunctionProperty()
|
||||
{
|
||||
$this->assertEquals(2, $this->object->execute(1));
|
||||
}
|
||||
|
||||
public function testConstruct()
|
||||
{
|
||||
$object = new NewObject(array('text' => 'test text'));
|
||||
|
||||
Reference in New Issue
Block a user