Commit Graph

251 Commits

Author SHA1 Message Date
Qiang Xue
a5b06b3468 Mark tests with problematic DBMS as skipped. 2014-09-06 20:22:28 -04:00
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
Carsten Brandt
cc1247f399 fixed HHVM test break 2014-08-15 16:22:59 +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
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
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
Alexander Makarov
b656137541 Added support for arbitrary operators to Query::filterWhere, added support for arbitrary operators to Sphinx extension 2014-08-01 21:11:24 +04:00
Alexander Makarov
c1cf48cf5b Fixes #2315: Any operator now could be used with yii\db\Query::->where() operand format 2014-08-01 11:37:05 +04:00
Qiang Xue
a3e2b94adf Fixes #3611: Refactored query caching. 2014-07-20 20:59:38 -04:00
Qiang Xue
a082fd9140 Added test. 2014-07-12 12:53:12 -04:00
Qiang Xue
65987f62ae test WIP 2014-07-12 10:38:51 -04:00
Alexander Makarov
608e9012fb Adjusted Connection::transaction to provide Connection instance by default instead of transaction instance 2014-07-10 20:50:07 +04:00
Alexander Makarov
56a7ec7618 Passed transaction as callback argument for Connection::transaction() method 2014-07-10 17:57:52 +04:00
Alexander Makarov
a0051820a7 Fixed tests 2014-07-10 17:43:15 +04:00
Ragazzo
e5195937e4 Fixes #3384: Added callback-style transactions 2014-07-10 17:24:10 +04:00
Qiang Xue
09b00c5cd0 Reverted #4098. 2014-06-28 11:59:58 -04:00
Qiang Xue
dfadb6a917 Fixes #4098: yii\db\Query::addSelect() should include * when it is called the first time 2014-06-28 09:46:56 -04:00
Qiang Xue
1b4a9b62cd Fixes #3568: When the primary query sets asArray, it is not respected by the via relational query 2014-06-25 23:35:02 -04:00
Carsten Brandt
df6a9a08fe fixed typo 2014-06-26 02:52:29 +02:00
Carsten Brandt
d4738b03a5 fixed test break 2014-06-26 01:39:10 +02:00
Carsten Brandt
574f67feff fixed test break 2014-06-26 01:35:56 +02:00
Carsten Brandt
cd5bdd90d2 fixed postgres tests 2014-06-25 22:54:39 +02:00
Carsten Brandt
1391253a58 fixed postgres default value parsing 2014-06-25 04:09:03 +02:00
Carsten Brandt
651e6a3feb added support for BIT default values
fixes #422
2014-06-25 03:37:39 +02:00
Carsten Brandt
4f95fcd91f added unit tests for schema detection
fixed some issues with schema detection
2014-06-25 03:09:28 +02:00
Carsten Brandt
cb87d7be84 fixed typo and test break 2014-06-24 08:40:36 +02:00
Carsten Brandt
7a87a13f37 unit test for postgres transaction 2014-06-24 03:14:51 +02:00
Carsten Brandt
cc8a8360cb added unit test and notes about dbms specific settings 2014-06-24 03:11:34 +02:00
Alexander Makarov
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
Carsten Brandt
0208f289c3 fixed test breaks 2014-06-04 19:12:18 +02:00
Carsten Brandt
d92281dcda refactored ActiveRecord::unlinkAll() to work will noSQL
issue #3520
2014-06-04 14:28:57 +02:00
Alexander Makarov
0003b10b02 ElasticSearch tests fix 2014-06-02 18:14:02 +04:00
Alexander Makarov
4624793954 Merge branch 'unlinkAll' of github.com:NmDimas/yii2 into NmDimas-unlinkAll
Conflicts:
	framework/CHANGELOG.md
2014-06-02 17:38:15 +04:00
NmDimas
95d2b29bff Change unit test to Unlink and add test to unlinkAll 2014-06-01 22:40:05 +03:00
Carsten Brandt
c6201fb5ca fixed cubrid test case 2014-05-26 13:43:42 +02:00
Carsten Brandt
d1a3d40014 added test case to acually create cols with virtual type
verify issue #3473
2014-05-26 11:53:06 +02:00
Qiang Xue
3411504508 Revert "Fixed test break."
This reverts commit 70b57766b1.
2014-05-14 11:40:46 -04:00
Qiang Xue
70b57766b1 Fixed test break. 2014-05-14 11:29:48 -04:00
Alexander Makarov
a17e5582cd Marked part of PostgreSQL test as incomplete 2014-05-07 21:25:19 +04:00
Alexander Makarov
5cb243025a Merge branch 'master' 2014-05-07 04:04:49 +04:00
Alexander Makarov
905e39ede9 RBAC migration is now aware of custom table names, speeded up RBAC tests 2014-05-07 00:19:33 +04:00
Alexander Makarov
48dbde3911 Fixed PostgreSQL test 2014-05-06 19:14:10 +04:00
Alexander Makarov
ca23cd8a2c Implemented throwing \yii\db\IntegrityException on DB integrity errors 2014-05-06 18:26:27 +04:00
Alexander Makarov
b86f5a14f7 #2435 Tests for integrity exception 2014-05-06 16:56:51 +04:00
Carsten Brandt
5c748ddb42 added case insensitve LIKE to PostgresQueryBuilder
fixes #3252

also improved unit tests for querybuilder buildLikeCondition
2014-04-29 12:04:10 +02:00
Alex-Code
80067204c8 test for addSelect method. 2014-04-08 12:11:55 +01:00