Commit Graph

4221 Commits

Author SHA1 Message Date
Benjamin Wöster
c30ee60e9c 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
2013-05-09 22:06:58 +02:00
Benjamin Wöster
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
Benjamin Wöster
d4b30e26c2 allow unit tests to requireApp() on setUp() 2013-05-09 20:41:57 +02:00
Alexander Kochetov
850ff06560 DbManager added + other classes comments fixes 2013-05-09 22:17:12 +04:00
Rusinov Maxim
238684d6af Travis anyway do sqlite tests. No needed setting ENV. 2013-05-09 23:53:15 +06:00
Rusinov Maxim
0ad55efba9 Merge branch 'master' of git://github.com/yiisoft/yii2 into 15-unit-tests-of-sqlite-driver 2013-05-09 23:37:39 +06:00
Rusinov Maxim
452be102c6 Added newline at end files. 2013-05-09 23:27:19 +06:00
Qiang Xue
b6e0022128 Merge branch 'master' of https://github.com/yiisoft/yii2 2013-05-09 13:17:18 -04:00
Qiang Xue
db61885ebd Fixes issue #201. 2013-05-09 13:17:11 -04:00
Rusinov Maxim
d712605a71 Added and resolved Sqlite tests #15. 2013-05-09 23:12:18 +06:00
Antonio Ramirez
18f23ff143 Merge branch 'master' of git://github.com/yiisoft/yii2 into 196-add-popvalue-method
* 'master' of git://github.com/yiisoft/yii2:
  Updated framework paths in composer.json
  Moved "framework" to "iii".
  Fixed Yii::importNamespaces() bug.
  Fixes issue #174: make URL parameters available in $_GET.
  refactoring.
  Removed static variable from autoload per qiangxue's suggestion
  Renamed yii.php -> Yii.php for class, filename consitency
  created StringHelper::basename()
  Fixed YiiBaseTest echo
  Check if trait was loaded
2013-05-09 18:26:16 +02:00
Antonio Ramirez
5da62fab3a #196 refactored method name 2013-05-09 18:23:10 +02:00
Alexander Makarov
8332e8c60f Updated framework paths in composer.json 2013-05-09 20:12:40 +04:00
Qiang Xue
0d814fa523 Moved "framework" to "iii". 2013-05-09 12:00:15 -04:00
Qiang Xue
15e1a79952 Merge branch 'master' of https://github.com/yiisoft/yii2 2013-05-09 11:53:27 -04:00
Qiang Xue
b68bd8ef63 Fixed Yii::importNamespaces() bug. 2013-05-09 11:53:13 -04:00
Qiang Xue
599debc2b9 Merge pull request #195 from suralc/trait-autoload
Check if trait was loaded
2013-05-09 08:41:49 -07:00
Qiang Xue
8520be08de Fixes issue #174: make URL parameters available in $_GET. 2013-05-09 11:40:51 -04:00
Alexander Kochetov
17906e712c Application::getAuthManager() comment fix 2013-05-09 19:04:50 +04:00
Alexander Kochetov
cd33870671 Moved to framework/rbac + method names refactoring 2013-05-09 18:53:17 +04:00
Qiang Xue
aad6d7d992 refactoring. 2013-05-09 10:18:25 -04:00
Alexander Kochetov
9158e110da Auth manager init version 2013-05-09 17:21:18 +04:00
Suralc
882a611666 Removed static variable from autoload per qiangxue's suggestion 2013-05-09 13:44:37 +02:00
Carsten Brandt
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
Carsten Brandt
776162b05e created StringHelper::basename()
In contrast to php function basename() It that always uses \ and /
as directory separator.
It is needed for use on Classnames that contain namespaces.
Fixes #192
2013-05-09 13:16:40 +02:00
Carsten Brandt
849740e6cc Fixed YiiBaseTest echo
it echoed Yii version which is not necessary
2013-05-09 13:16:40 +02:00
Antonio Ramirez
673d207253 Fix silly typo 2013-05-09 13:10:18 +02:00
Antonio Ramirez
ad25cdc906 Fix 'automated' (?) space 2013-05-09 12:51:08 +02:00
Antonio Ramirez
e2a57e4b88 Enhance ArrayHelper with popValue method 2013-05-09 12:42:50 +02:00
Alexander Makarov
ad26b7d3d1 Use Composer autoload to handle dependency class loading 2013-05-09 14:26:46 +04:00
Suralc
bac5c0e729 Check if trait was loaded 2013-05-09 12:18:17 +02:00
Carsten Brandt
a51019bbed Console helper: use self:: for refering to constants 2013-05-09 11:31:34 +02:00
Qiang Xue
0f33f90161 Merge branch 'master' of https://github.com/yiisoft/yii2 2013-05-08 22:58:38 -04:00
Qiang Xue
c7e40f5c7a Debug toolbar WIP. 2013-05-08 22:58:32 -04:00
Carsten Brandt
a61ec6bdd5 Merge pull request #186 from suralc/console-static-fix
[Please Review before merge] Fixed static in signature error
2013-05-08 16:46:26 -07:00
Qiang Xue
28045b121f Merge pull request #189 from Dev-Speranza/master
Fix $schemaMap declaration for Mssql driver
2013-05-08 16:42:02 -07:00
Dev-Speranza
6ed419849e Fix $schemaMap declaration for Mssql driver 2013-05-09 02:40:02 +03:00
Qiang Xue
b836665dfd Added beginPage and endPage events. 2013-05-08 17:36:34 -04:00
Qiang Xue
6b770dad6e Merge branch 'master' of https://github.com/yiisoft/yii2 2013-05-08 15:27:27 -04:00
Qiang Xue
96fd37de2e Fixes issue #49: finished CAPTCHA feature. 2013-05-08 15:27:06 -04:00
Suralc
8197ab556e Revert static calls in switch 2013-05-08 20:18:14 +02:00
Suralc
ded4ccd778 Fixed php 5.4+ Exception in Console helper 2013-05-08 20:01:31 +02:00
Qiang Xue
11bebaa8bf Merge pull request #184 from andersonamuller/patch-1
Typo in isNewRecord property of ActiveRecord
2013-05-08 10:20:21 -07:00
Qiang Xue
63f081f2f3 Merge pull request #185 from andersonamuller/patch-2
Fixes doc block in findWith method of ActiveRelation
2013-05-08 10:20:03 -07:00
Anderson Müller
78b6607c11 Fixes doc block in findWith method of ActiveRelation 2013-05-08 19:14:35 +02:00
Anderson Müller
45e987d26c Typo in isNewRecord property of ActiveRecord 2013-05-08 20:09:34 +03:00
Qiang Xue
b8b6180b81 Merge pull request #183 from LAV45/master
Fix urlManager
2013-05-08 09:02:28 -07:00
Qiang Xue
c5bad9ea1b Fixes issue #172: Added Object::className(). 2013-05-08 09:39:34 -04:00
Qiang Xue
2dd51d5b46 Fixes issue #177. 2013-05-08 07:16:48 -04:00
Qiang Xue
01ae015088 Fixes issue #180: DbSession crashes with autoStart 2013-05-08 06:58:34 -04:00