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
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
Benjamin Wöster
d4b30e26c2
allow unit tests to requireApp() on setUp()
12 years ago
Rusinov Maxim
452be102c6
Added newline at end files.
12 years ago
Rusinov Maxim
d712605a71
Added and resolved Sqlite tests #15 .
12 years ago
Antonio Ramirez
5da62fab3a
#196 refactored method name
12 years ago
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
12 years ago
Carsten Brandt
849740e6cc
Fixed YiiBaseTest echo
...
it echoed Yii version which is not necessary
12 years ago
Antonio Ramirez
e2a57e4b88
Enhance ArrayHelper with popValue method
12 years ago
Alexander Kochetov
ca9194a365
Code style fixes
12 years ago
Qiang Xue
dd5969147d
move JsExpression to web.
12 years ago
Antonio Ramirez
fc7fc8032b
remove for now
12 years ago
Antonio Ramirez
d40e2446df
minor fix for test unit
12 years ago