Browse Source

unit test `CommandTest` fix

tags/3.0.0-alpha1
Klimov Paul 8 years ago
parent
commit
07f65f411b
  1. 1
      tests/framework/console/controllers/DbMessageControllerTest.php
  2. 2
      tests/framework/db/CommandTest.php

1
tests/framework/console/controllers/DbMessageControllerTest.php

@ -73,7 +73,6 @@ class DbMessageControllerTest extends BaseMessageControllerTest
}
/**
* @throws \yii\base\InvalidParamException
* @throws \yii\db\Exception
* @throws \yii\base\InvalidConfigException
* @return \yii\db\Connection

2
tests/framework/db/CommandTest.php

@ -433,7 +433,7 @@ SQL;
* Test INSERT INTO ... SELECT SQL statement with wrong query object
*
* @dataProvider invalidSelectColumns
* @expectedException \yii\base\InvalidParamException
* @expectedException \yii\base\InvalidArgumentException
* @expectedExceptionMessage Expected select query object with enumerated (named) parameters
*/
public function testInsertSelectFailed($invalidSelectColumns)

Loading…
Cancel
Save