Commit Graph

2875 Commits

Author SHA1 Message Date
Carsten Brandt
78b5c7db66 fixed boolean handling for PostgreSQL
- do not allow boolean values for integer columns
- use native boolean type with boolean values
- removed workaround that turned out to be wrong when schema and values
  are used correctly. Workaround resulted from wrong usage of boolean
  values before.

fixes #4672
2014-08-28 11:20:17 +02:00
Klimov Paul
5b0d6f885c yii\sphinx\ActiveQuery fixed to be resuable with 'match' condition. 2014-08-27 14:51:30 +03:00
Klimov Paul
10edf5c929 yii\sphinx\ActiveQuery fixed to be resuable. 2014-08-27 14:01:29 +03:00
Klimov Paul
981fbaddba Sphinx test skipping code fixed 2014-08-27 13:41:31 +03:00
Klimov Paul
7a418ae9e2 yii\mongodb\Collection::buildLikeCondition() fixed to be case insensitive. 2014-08-26 14:03:02 +03:00
Qiang Xue
3786440288 Fixes #4762: Reverted automatic ID fix. 2014-08-25 17:05:14 -04:00
Alexander Makarov
b82d32c1ef Used a single database and a single CLI entry point for all test types. Added faker to basic app dev requirements. 2014-08-25 02:01:05 +04:00
Mark
033d66deac changed format of applying command to all 2014-08-20 20:48:58 -04:00
Mark
c7887b666c Added missed case in tests about append option 2014-08-20 20:48:58 -04:00
Mark
461576dc85 added other syntax for and tests for fixture controller 2014-08-20 20:48:58 -04:00
Klimov Paul
0bf16497af Convert 'caseless' option into 'caseSensitive' option at yii\helpers\BaseFileHelper::findFiles() 2014-08-19 17:33:11 +03:00
Klimov Paul
6461523aca Added 'caseless' option to yii\helpers\BaseFileHelper::findFiles() 2014-08-19 14:52:56 +03:00
Alexander Makarov
6f3832f3ff Merge pull request #4723 from yiisoft/codeception-test-adjustments
Codeception test adjustments for basic and advanced applications
2014-08-18 23:27:01 +04:00
Alexander Makarov
57b299607b Use separate webservers for basic and advanced apps in travis 2014-08-17 19:18:06 +04:00
Alexander Makarov
ac32c33d79 Removed unneeded && from travis 2014-08-17 18:59:36 +04:00
Qiang Xue
9a68678ded Additional fix to #4728. 2014-08-16 22:30:28 -04:00
Qiang Xue
45dbbc39f6 Additional fix to #4728. 2014-08-16 22:25:55 -04:00
Alexander Makarov
4a9cc31828 Merge pull request #4728 from DaSourcerer/4372-httpcache-rfc7232-compliance
RFC 7232 Compliance for yii\filters\HttpCache
2014-08-17 01:21:21 +04:00
DaSourcerer
528e12f499 Fix for @covers annotations 2014-08-16 22:09:09 +02:00
DaSourcerer
83872ff853 CacheFilter test coverage 2014-08-16 21:50:28 +02:00
Alexander Makarov
28091ed2e8 Fixed travis paths 2014-08-16 19:43:50 +04:00
Alexander Makarov
0418a07264 Added missing cd to travis 2014-08-16 19:25:45 +04:00
Alexander Makarov
3913d64d90 Attempt to fix travis 2014-08-16 19:08:24 +04:00
Alexander Makarov
386b63b47c Merge branch 'master' into codeception-test-adjustments
Conflicts:
	.travis.yml
2014-08-15 19:13:58 +04:00
Alexander Makarov
7eb403bf45 Codeception test adjustments for basic and advanced applications
- Moved everything test-related into `tests` directory. Codeception tests are in `codeception`.
- Removed database module since we're using fixtures and migrations.
- Moved console entry points and bootstrap into `tests/codeception/bin`.
- Adjusted travis build scripts.
- Adjusted documentation to be consistent and reflect changes made.
2014-08-15 19:09:52 +04:00
Carsten Brandt
cc1247f399 fixed HHVM test break 2014-08-15 16:22:59 +02:00
Carsten Brandt
89921e0b92 HHVM version ouput has changed 2014-08-15 16:18:38 +02:00
Carsten Brandt
f4a9646a22 more on HHVM compatibility 2014-08-15 16:04:02 +02:00
Carsten Brandt
62e7c3e9a6 fixed some inconsistnecies in HHVM tests
exclude parts that have different default values
2014-08-15 15:30:32 +02:00
Carsten Brandt
10512ff00d do not export mailer in BaseMailerTest message
fixes test break in HHVM due to export of a closure
2014-08-15 14:52:38 +02:00
Qiang Xue
88d38b7820 Fixes #4501: Renamed the constant YII_PATH to YII2_PATH 2014-08-14 22:17:05 -04:00
Carsten Brandt
4846643f2b Update .gitignore 2014-08-14 21:34:07 +02:00
Carsten Brandt
dcf62a1339 Update .gitignore 2014-08-14 21:33:13 +02:00
Carsten Brandt
3a4b32c4c1 fixed cubrid tests 2014-08-13 13:19:28 +02:00
Carsten Brandt
c4dc9470be created a test case to verify #4682 2014-08-13 12:45:20 +02:00
Paul Klimov
0f4d8ac4ba Merge pull request #4675 from klimov-paul/4630-sluggable
Fix #4630: automatic generating of unique slug value to `yii\behaviors\Sluggable`
2014-08-12 15:20:09 +03:00
Carsten Brandt
accd2d3124 Update README.md 2014-08-12 13:35:45 +02:00
Carsten Brandt
9d4e3612e0 fixed test break 2014-08-12 12:51:24 +02:00
Carsten Brandt
3b665fe3c4 improved unit test SKIP detection
issue #4687
2014-08-12 12:10:19 +02:00
Carsten Brandt
869d7b7cfc Improved test config
You can now customize test config without having uncommitted changes in
git.

issue #4687
2014-08-12 12:10:19 +02:00
Carsten Brandt
47b42ca808 Merge pull request #4680 from yiisoft/array-cache
Created ArrayCache class
2014-08-12 11:40:31 +02:00
Klimov Paul
823bfc977d merge with upstream 2014-08-12 12:14:16 +03:00
Klimov Paul
101d771ecf yii\behaviors\Sluggable::validateSlug() fixed to respect updating record 2014-08-12 12:01:23 +03:00
Klimov Paul
f27254b9aa yii\behaviors\Sluggable simplified 2014-08-12 11:43:15 +03:00
Klimov Paul
d362af6ede yii\behaviors\Sluggable optimized 2014-08-12 11:36:50 +03:00
Carsten Brandt
c6274acf6c ensure postgres boolean values are handled correctly
also fixed an issue with default value loading of bool columns.

fixes #3489, fixes #4085, fixes #3920
related to #4672
2014-08-12 02:19:53 +02:00
Carsten Brandt
92d65ab78b fix issue with postgreSQL and batch inserting boolean values
fixes #4654
2014-08-12 01:43:49 +02:00
Nikitin Vitaly
f1dd83e2a9 Added test that are making sure batchInsert boolean values in PostgreSQL isn't failing with errors
close #4655
2014-08-12 00:51:11 +02:00
Carsten Brandt
a2e8083beb Created ArrayCache class
- can be used to enable caching in a request without the need for any storage
- useful for example in complex console tasks that should still be independed
2014-08-11 23:49:55 +02:00
Klimov Paul
b062a6601d Default event for yii\behaviors\Sluggable with unique enabled changed to 'insert'. 2014-08-11 18:04:18 +03:00