Used more specific unit test assertions in framework tests

This commit is contained in:
Alexander Makarov
2017-03-14 09:45:31 +03:00
committed by GitHub
parent 6397791513
commit 3f8e8a89eb
49 changed files with 519 additions and 487 deletions

View File

@@ -24,6 +24,6 @@ class QueryTest extends \yiiunit\framework\db\QueryTest
);
$result = $query->all($connection);
$this->assertNotEmpty($result);
$this->assertSame(7, count($result));
$this->assertCount(7, $result);
}
}