mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 21:41:19 +08:00
Raise version min PHP 7.3.
This commit is contained in:
@ -26,7 +26,7 @@ use yiiunit\framework\db\UnqueryableQueryMock;
|
||||
*/
|
||||
abstract class ActiveDataProviderTest extends DatabaseTestCase
|
||||
{
|
||||
protected function setUp()
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
ActiveRecord::$db = $this->getConnection();
|
||||
@ -132,7 +132,7 @@ abstract class ActiveDataProviderTest extends DatabaseTestCase
|
||||
]);
|
||||
$orders = $provider->getModels();
|
||||
$this->assertCount(3, $orders);
|
||||
$this->assertInternalType('array', $orders[0]);
|
||||
$this->assertIsArray($orders[0]);
|
||||
$this->assertEquals([0, 1, 2], $provider->getKeys());
|
||||
|
||||
$query = new Query();
|
||||
|
||||
Reference in New Issue
Block a user