11 Commits

Author SHA1 Message Date
0744413819 Fixed iii include path. 2013-05-21 21:45:30 -04:00
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
5e0f6604e8 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
2013-05-09 21:56:36 +02:00
0d814fa523 Moved "framework" to "iii". 2013-05-09 12:00:15 -04:00
2387e59c4e Renamed yii.php -> Yii.php for class, filename consitency
See https://github.com/yiisoft/yii2/issues/123#issuecomment-17657374
Issue #123
2013-05-09 13:31:43 +02:00
a9215ceddd create a webapp in test bootstrap 2013-04-23 14:11:55 +04:00
a5fe4a6af2 Fixed URLManager bugs. 2013-02-20 08:25:06 -05:00
6fcac32410 error handling cleanup. 2013-01-31 23:50:53 -05:00
d991f42cbd Use namespace in unit tests.
Fixed BehaviorTest.php
2011-12-03 15:04:17 -05:00
f082c0eb9a w 2011-09-02 23:47:18 -04:00
cd34611977 w 2011-07-19 23:52:40 -04:00