Commit Graph

4 Commits

Author SHA1 Message Date
Benjamin Wöster
f23a677bdf 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
2013-05-10 02:01:08 +02:00
Benjamin Wöster
d4b30e26c2 allow unit tests to requireApp() on setUp() 2013-05-09 20:41:57 +02:00
Alexander Makarov
09dbaeb700 more assertions for cache test 2013-04-23 15:00:41 +04:00
Alexander Makarov
64fb2a815c added tests for cache 2013-02-07 23:48:55 +04:00