Antonio Ramirez
7b98b42418
added inflection methods from StringHelper + some comment fixes
12 years ago
Antonio Ramirez
641e6ee7cf
ported inflection methods from StringHelper to Inflector helper class
12 years ago
Qiang Xue
72769ff348
Fixed breaking test.
12 years ago
Qiang Xue
0744413819
Fixed iii include path.
12 years ago
Antonio Ramirez
f9222a083a
fix failing test
12 years ago
Antonio Ramirez
3575b99650
finished all tests
12 years ago
Antonio Ramirez
82a6281c65
added tests
12 years ago
Klimov Paul
4695362ae2
Unit test for "yii\console\controllers\AssetController" has been adjusted.
12 years ago
Klimov Paul
9f66abc984
"yii\console\controllers\AssetController" has been updated:
...
- assetManager has been converted into virtual property
- bundle dependency load has been fixed
12 years ago
Klimov Paul
d4b896f65c
"ManagerTestBase::testExecuteBizRule()" has been fixed to not produce side effects on other tests.
12 years ago
Carsten Brandt
285a45520c
fixed auth manager unit test to not expect generic exception
...
This is not allowed by phpunit as a test may not fail anymore
12 years ago
Qiang Xue
9e948ccd43
Added UrlRule::host.
12 years ago
Qiang Xue
b6fffeb0e4
Removed trailing slash in created URLs.
12 years ago
Qiang Xue
e6b52b8523
Fixes issue #268 : added support for subdomain matching of URL rules.
12 years ago
Klimov Paul
d3beeb7ddc
Usage of "yii\console\controllers\AssetController::actionCompress()" has been clarified.
12 years ago
Klimov Paul
06752ae9e7
Doc comments for "yii\console\controllers\AssetController" has been updated.
12 years ago
Klimov Paul
563f992bec
Unit test for "yii\console\controllers\AssetController" has been refactored.
12 years ago
Ragazzo
1f3f661292
fixed range requests, tests improved
12 years ago
Klimov Paul
8d17fcccaa
Error "yii\console\controllers\AssetController::combineCssFiles()" has been fixed.
12 years ago
Klimov Paul
0ecdcae54a
Method "yii\console\controllers\AssetController::buildTarget()" has been fixed to compose input file name correctly.
12 years ago
Klimov Paul
f9b06e1e6d
Unknown property "yii\console\controllers\AssetController::publishOptions" error has been fixed.
12 years ago
Klimov Paul
98b3cc07cd
Test case "AssetControllerTest::testActionCompress()" has been created as draft.
12 years ago
Klimov Paul
5092612217
Method "console\controllers\AssetController::actionTemplate()" has been updated to be more verbose.
12 years ago
Qiang Xue
986bfccd34
Fixes issue #294 .
12 years ago
Klimov Paul
f4cb1e4a0a
Unit test for "console\controllers\AssetController" has been created.
12 years ago
Qiang Xue
0005b07d29
Removed Vector and Dictionary.
12 years ago
Carsten Brandt
a2c6d22124
refactored web/Response::sendFile()
...
- better throw http exception on not satisfiable range request
- constitent header names
- fixed range end when range request is to the end
- added unit test
related to #275 , fixes #148
12 years ago
slavcopost
59cb5d1199
Add unit test
12 years ago
Alexander Makarov
a021fbe54d
Skipped ApcCacheTest expire
12 years ago
Klimov Paul
43a04d237a
Doc comments for "YiiRequirementChecker" have been updated.
12 years ago
Klimov Paul
9a461edd07
Check helper methods have been added to "YiiRequirementChecker".
12 years ago
Carsten Brandt
48f388442f
mocking time in test only usefull when using time() once
...
e2513de6c6 (commitcomment-3192244)
12 years ago
Klimov Paul
f82a01e4dd
"YiiRequirementChecker::check()" has been updated to be able to collect different requirements set in the chained call.
12 years ago
Carsten Brandt
e2513de6c6
better testing: time()-function-mock
...
as discussed in #203
https://github.com/yiisoft/yii2/issues/203#issuecomment-17759631
12 years ago
Klimov Paul
3b7ac70c69
Test case "YiiRequirementCheckerTest::testCheckEval()" has been added.
12 years ago
Klimov Paul
00d04a1c30
Method "YiiRequirementChecker::check()" has been refactored to be used in method chain.
...
Methods "YiiRequirementChecker::getResults()" and "YiiRequirementChecker::render()" have been added.
12 years ago
Klimov Paul
07fabfd6fc
Method "YiiRequirementChecker::check()" has been implemented.
12 years ago
Klimov Paul
3374c78233
"YiiRequirementChecker" has been created as blank.
12 years ago
Carsten Brandt
71a9efdd55
changed cache test to wait more than expirytime
...
change is to avoid random test failure on race condition.
fixes #203 #231
12 years ago
Carsten Brandt
6a7529505e
cache tests refactoring cherry picked from redis branch
12 years ago
Carsten Brandt
3bdb6c3110
fixed indentation in test files
12 years ago
Carsten Brandt
cb8f5d702f
cleanup tests
12 years ago
resurtm
ea68bd3a55
CS fixes.
12 years ago
resurtm
5575f53657
CS fixes.
12 years ago
resurtm
5c101ae314
Initial MSSQL tests.
12 years ago
Alexander Kochetov
af3f5af3be
RBAC: Item and Assignment optimized save approach
12 years ago
resurtm
124b153350
Initial Gettext support.
12 years ago
Alexander Kochetov
4b8bcd43e0
Unit tests fix
12 years ago
Alexander Kochetov
bea449f8a0
Unit tests
12 years ago
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
12 years ago