fix tests
Changed assertions
code style
Merge pull request #2652 from Theill11/fix-test-breaks

Update advanced app tests
yii\mongodb\file\ActiveRecord::update() fixed to save the attributes while updating file.
Merge branch 'master' of github.com:yiisoft/yii2
yii\mongodb\file\Collection::ensureMongoId() fixed to suppress exception on invalid _id format.
Note about  embedded documents added to mongodb extension readme
Make code coverage work
MongoDB log fixed to handle Mongo objects correctly
Merge branch 'master' of github.com:yiisoft/yii2

* 'master' of github.com:yiisoft/yii2:
  Make code coverage work
  Note about  embedded documents added to mongodb extension readme
  yii\mongodb\file\Collection::ensureMongoId() fixed to suppress exception on invalid _id format.
  yii\mongodb\file\ActiveRecord::update() fixed to save the attributes while updating file.
  Fixes #2661: Added boolean column type support for SQLite
  Refactored controller creation process.
  Added back some toArray() implementations.
  Fixed test break.
  Update console-migrate.md
  Fixes #2655: Arrayable and ArrayableTrait are incompatible for some PHP versions.
  Fixes #2659
  Minor code style fixes for apidoc
  Changed assertions
  fix tests
api doc improvements
Merge branch 'master' of github.com:yiisoft/yii2
Fixes #2666
Update HttpBearerAuth.php

typo fix
Merge pull request #2668 from dizews/patch-1

Update HttpBearerAuth.php
Added upgrade note about extensions
callback -> callable

this term is resolveable by the php docs when linking types in apidoc
minor apidoc style
fixed implementation of Session::getHasSessionId().