mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-17 14:57:23 +08:00
fixed exception.
This commit is contained in:
@@ -103,7 +103,7 @@ class DictionaryTest extends \yiiunit\TestCase
|
||||
$this->assertEquals($this->item3, $this->dictionary['key3']);
|
||||
$this->assertEquals($this->item1, $this->dictionary['key4']);
|
||||
|
||||
$this->setExpectedException('yii\base\InvalidCallException');
|
||||
$this->setExpectedException('yii\base\InvalidParamException');
|
||||
$this->dictionary->copyFrom($this);
|
||||
}
|
||||
|
||||
@@ -122,7 +122,7 @@ class DictionaryTest extends \yiiunit\TestCase
|
||||
$this->assertEquals(3,$this->dictionary->getCount());
|
||||
$this->assertEquals($this->item1,$this->dictionary['key2']);
|
||||
$this->assertEquals($this->item3,$this->dictionary['key3']);
|
||||
$this->setExpectedException('yii\base\InvalidCallException');
|
||||
$this->setExpectedException('yii\base\InvalidParamException');
|
||||
$this->dictionary->mergeWith($this,false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user