8 Commits

Author SHA1 Message Date
cb8f5d702f cleanup tests 2013-05-11 12:51:24 +02: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
d4b30e26c2 allow unit tests to requireApp() on setUp() 2013-05-09 20:41:57 +02:00
a4b7d493b0 Removed the $value parameter from radio and checkbox. 2013-04-27 22:03:14 -04:00
399a53cfc4 activeform wip 2013-04-27 16:51:05 -04:00
08be696434 fixed Html test under Windows (line endings) 2013-04-23 14:32:54 +04:00
122bd231b4 modified Application constructor signature. 2013-04-09 22:43:04 -04:00
9da81894be moved helper test from util namespace to helpers namespace, added tests for StringHelper 2013-03-29 18:23:50 +04:00