Commit Graph

272 Commits

Author SHA1 Message Date
Qiang Xue
b9c97ff2aa Fixes #4938: When yii\db\ActiveQuery is used to build sub-queries, its WHERE clause is not correctly generated 2014-09-12 16:46:12 -04:00
Mark
2410766f9f tests added for faker fixture controller 2014-09-01 17:33:15 +04:00
Carsten Brandt
2007777170 Update sphinx-setup.sh 2014-08-30 00:22:21 +02:00
Carsten Brandt
c4dffa0f1f simplified travis installation 2014-08-28 15:08:37 +02:00
Carsten Brandt
63543c0a81 enable mongo text search 2014-08-28 15:01:55 +02:00
Carsten Brandt
68323f6428 fixed cubrid PDO 2014-08-28 14:49:32 +02:00
Carsten Brandt
e648aef799 sphinx setup without sudo 2014-08-28 14:43:49 +02:00
Carsten Brandt
9174358f7e fixed sphinx setup 2014-08-28 14:17:15 +02:00
Carsten Brandt
83f5f49469 try mongodb without sudo 2014-08-28 14:01:29 +02:00
Carsten Brandt
326d26af06 install cubrid DB not using sudo and use travis cache 2014-08-28 13:49:36 +02:00
Carsten Brandt
c27c9de5b8 check if sphinx is installed 2014-08-28 12:14:05 +02: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
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
461576dc85 added other syntax for and tests for fixture controller 2014-08-20 20:48:58 -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
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
89921e0b92 HHVM version ouput has changed 2014-08-15 16:18:38 +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
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
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
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
0ed6355ee1 test and docs to be clear about #4558 2014-08-01 15:35:23 +02:00
Panagiotis Moustafellos
fbf7e54d03 fixed erroneous line removal 2014-07-24 11:35:39 +03:00
Panagiotis Moustafellos
59b8fbe8da Removed Sphinx installation from foreign PPA 2014-07-24 11:28:41 +03:00
Carsten Brandt
7939a3dec5 Merge branch 'master' into array-attribute-relations
* master:
  Update output-data-widgets.md
  Fixes #4370: fileinfo extension is required for FileValidator.
  Fixes #4342
  Fixes #3887
  minor refactoring of FileValidator.
  Doc translate for rest-resources
  Better fix for Dropdown container options
  #4388: CORS filter fixes:
  Fixed test break.
  #4310: Removed `$data` from signature of `yii\rbac\ManagerInterface`
  Update .travis.yml
  Update ActiveRecordInterface.php
  Fixes #4384.
  Sphinx distributed indexes support provided
  typo fix [skip ci]
  Fixes #3611: Refactored query caching.
2014-07-23 01:43:03 +02:00
Klimov Paul
98a86ce73b Sphinx distributed indexes support provided 2014-07-21 12:34:28 +03:00
Carsten Brandt
cc38e9c795 fixed issue with indexBy and array valued relations 2014-07-21 00:35:55 +02:00
Carsten Brandt
d5375e8c3b added elasticsearch test case for array attribute relations 2014-07-20 23:57:51 +02:00
Qiang Xue
ae1ed5bdfd Fixed test break. 2014-07-19 20:46:12 -04:00
Qiang Xue
ab9d906351 Fixed test break. 2014-07-19 19:51:44 -04:00
Alexander Makarov
2f19030e37 Switched to Codeception 2.0.* for application template tests 2014-07-02 14:44:31 +03:00
Carsten Brandt
cd5bdd90d2 fixed postgres tests 2014-06-25 22:54:39 +02:00
Carsten Brandt
48f6e380df Merge PR #4038 branch 'consistent-after-save'
* consistent-after-save:
  use an AfterSaveEvent class to be consistent
  fixed test break and wrong parameter
  changed updateAttributes to be more simple update
  Ensure consistent behavior in ActiveRecord::afterSave()

Conflicts:
	framework/UPGRADE.md
2014-06-25 20:23:16 +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
0899b8d474 changed updateAttributes to be more simple update
fixes #3233
2014-06-25 00:29:49 +02:00
Klimov Paul
3c5b98f7fe Unit test for issue #4018 added 2014-06-24 17:47:08 +03:00
Alexander Makarov
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
Alexander Makarov
22884e7384 Fixes #3535: Syntax changes
- Removed `form_begin`, `form_end`
- Added `use()` and `ViewRenderer::uses` that are importing classes and namespaces
- Added widget dynamic functions `*_begin`, `*_end`, `*_widget`, `widget_end`
- Added more tests
2014-06-20 05:13:36 +04:00
Mark
a89d574a20 updated FileValidator , CHANGELOG.md , UPGRADE.md guides , tests fixed 2014-06-14 22:11:58 +04:00
Mark
1a3c04e0d2 fixed tests 2014-06-14 13:14:36 +04:00
Carsten Brandt
3489f295bb fixed hhvm build error 2014-06-12 14:31:21 +02:00
Carsten Brandt
18c5bb1352 fixed file permission 2014-06-12 13:25:00 +02:00
Carsten Brandt
3a42c8c3e7 try to fix hhvm tests 2014-06-12 13:21:16 +02:00