* master: (108 commits)
fixed indentation in test files
cleanup tests
Travis-CI build status.
CS fixes.
CS fixes.
Change magic property to normal method. (Thanks to @maxlapko.)
CS fixes.
Fixed duplicated merge.
Fixes issue #50
An error occurred
: implemented pager widgets.
fix: remove pointless unset
remove fix for unset timezone from bootstrap app
mod: don't use ArrayHelper to avoid loading another class during every request
better have timezone fix in application
Add exception classes hierarchy UML diagram.
Initial Gettext support.
RBAC sql files identation fix
RBAC sql files
DbManager some Db fields renaming
DbManager code style fix + right Exception type fix
Unit tests fix
...
Conflicts:
tests/unit/framework/caching/ApcCacheTest.php
tests/unit/framework/caching/CacheTest.php
* 'unittest-app-dependency' of https://github.com/bwoester/yii2:
mod: incorporate suggestions - rename requireApp() to mockApplication() - always destroy app on tearDown() - eliminates need for constant YII_DESTROY_APP_ON_TEARDOWN - mockApplication() becomes a lot easier. Destroying app on each tearDown means creating it on every call is fine. No more checking if it already exists and if it has been created from the same config. - \yii::$app should have been \Yii::$app
add: new key for unit tests config named "className". Allows to run the tests using different Application instances (consoleApp/ webApp) mod: TestCase::getParam accepts second param $default=null
mod: don't create app in bootstrap script, unit tests do it themselves add: option to destroy app after each test to find unit tests that fail to require an app
allow unit tests to requireApp() on setUp()
Conflicts:
tests/unit/data/config.php
- rename requireApp() to mockApplication()
- always destroy app on tearDown()
- eliminates need for constant YII_DESTROY_APP_ON_TEARDOWN
- mockApplication() becomes a lot easier. Destroying app on each tearDown
means creating it on every call is fine. No more checking if it already
exists and if it has been created from the same config.
- \yii::$app should have been \Yii::$app