Commit Graph

50 Commits

Author SHA1 Message Date
Robert Korulczyk
31e321b9b2 Remove unused imports. (#14096) 2017-05-01 20:26:15 +02:00
Klimov Paul
dee88787fc compatibility with PHPUnit 6.x added 2017-04-13 14:49:43 +03:00
Alexander Makarov
3f8e8a89eb Used more specific unit test assertions in framework tests 2017-03-14 09:45:31 +03:00
gagatust
6397791513 Fixed whitespaces to match code style [skip ci] 2017-03-14 09:42:13 +03:00
Carsten Brandt
ff4cde18d4 Merge branch 'master' into feature/docker-testing 2017-03-06 15:50:56 +01:00
SilverFire - Dmitry Naumenko
1dc4618f3d Fixed MessageConstroller::saveMessagesToDb() to work on different DBMS correctly
Closes #13494
2017-02-21 23:37:17 +02:00
Nikolay Oleynikov
323568c2e9 Remove trailing spaces from sources and tests (#13621) [skip ci] 2017-02-19 17:34:22 +03:00
Tobias Munk
9f95f71572 added groups to tests 2017-02-16 16:46:10 +01:00
Tobias Munk
ec8daa0d77 added db group to test 2017-02-16 15:42:24 +01:00
Robert Korulczyk
4c46c6a096 Improve messages test on HHVM. (#13520) 2017-02-06 09:54:13 +01:00
Bizley
1749c46c5d Fixes #11502: Fixed yii\console\controllers\MessageController to properly populate missing languages in case of extraction with "db" format 2017-02-02 02:50:34 +03:00
Klimov Paul
6211f9c030 MigrateControllerTestTrait fix for HHVM 2016-12-26 16:02:22 +02:00
SilverFire - Dmitry Naumenko
4454d05410 Added ZSH completion, moved scripts to a separate directory 2016-12-03 00:36:40 +01:00
Carsten Brandt
beb140446b added test for helpcontroller list action 2016-12-03 00:36:40 +01:00
SG5
1141fc81a7 Fixes #12735: Fixed yii\console\controllers\MigrateController creating multiple primary keys for field bigPrimaryKey:unsigned 2016-12-02 01:03:24 +03:00
Klimov Paul
18b0dab360 Fixed yii\console\controllers\AssetController::adjustCssUrl() breaks URL reference specification (url(#id)) 2016-11-29 10:24:39 +02:00
Klimov Paul
1157657cab Fixed incorrect order of migrations history in case yii\console\controllers\MigrateController::$migrationNamespaces is in use 2016-11-14 14:24:53 +02:00
Alexander Zlakomanov
b48b1a0657 Fixes #12904: Fixed lowercase table name in migrations 2016-11-08 23:39:44 +03:00
Boudewijn Vahrmeijer
8705219005 Added tests for HelpController (#12908) 2016-11-04 15:58:21 +03:00
Klimov Paul
60307c118b code style fix 2016-09-12 14:43:46 +03:00
Klimov Paul
8c39b1cbfa code style fix 2016-09-12 14:41:05 +03:00
Paul Klimov
8aa0e85a07 Add migration namespace support (#12511)
namespace support added to `BaseMigrateController`
2016-09-12 14:01:04 +03:00
SilverFire - Dmitry Naumenko
8ec60e3d9b Merge branch '12423-migration-tool' of https://github.com/pana1990/yii2 into pana1990-12423-migration-tool 2016-09-11 21:17:43 +03:00
Daniel Gomez Pan
ae42d7b281 Fix #12423 Fix bug migration tool when creating fields with brackets in comment 2016-09-11 18:03:09 +02:00
Klimov Paul
d73d155e43 code style fix 2016-09-09 14:59:11 +03:00
Klimov Paul
db15c50557 Fixed yii\console\controllers\AssetController looses bundle override configuration, which makes it external one 2016-08-31 17:25:52 +03:00
Klimov Paul
8c9bafcc06 Fix unit test on HHVM 2016-08-31 13:13:39 +03:00
Klimov Paul
56cc97ae42 Added yii\console\controllers\AssetController::deleteSource 2016-08-31 13:06:19 +03:00
Nikola Kovacs
84124bec4f Fix grammar in migration template docblocks. (#12148)
Fix typo in test file's name.
2016-08-12 17:55:43 +03:00
Daniel Gómez Pan
83496853c8 Fixes #11461: Fixed migration tool error when create migrate with comma in defaultValue 2016-07-28 01:15:55 +03:00
Angel Guevara
8c240ed067 Fixes #11683: Fixed fixture command to work with short syntax. yii fixture "*, -User" should be used instead of yii fixture "*" -User 2016-07-07 01:30:06 +03:00
Robert Korulczyk
5992eea571 Fixes #11808: _table and _column suffixes are now required when generating migration 2016-07-04 12:50:37 +03:00
Angel Guevara
fdbf7d85a1 Simple tests (#11606)
* method to simplify migrate/create tests
* use new assertion for all migration/create tests
* move the expected files to test/data/console
2016-05-24 09:35:23 +03:00
Angel Guevara
b923adf75c Enh: Support for useTablePrefix parameter in migrate command
Fixes #11166: migrate command new option `useTablePrefix`
2016-04-06 13:37:37 +03:00
Angel Guevara
49aec24ae1 Enh: Migrate command now supports foreign keys
Fixes #11207: migrate command can create foreign keys
2016-04-05 01:02:52 +03:00
Angel Guevara
3cbd64547a Additional phpdoc for #11187 2016-03-27 23:38:23 +03:00
Alexander Makarov
4cb0c1b55c Fixed tests 2016-03-25 14:08:56 +03:00
Daniel Gomez Pan
9b94dbfe38 Merge remote-tracking branch 'upstream/master' into 10969-fix-migration 2016-02-26 15:58:17 +01:00
Daniel Gomez Pan
03cb361a59 Fixed #10969: add more tests 2016-02-26 15:57:41 +01:00
Daniel Gomez Pan
921b102961 Fixed #10969: generator migration tool not works with decimal params in column 2016-02-26 03:34:03 +01:00
Vladimir Khramov
8db7df9352 replace all occurrences of migration class 2016-02-26 10:04:24 +10:00
Revin Roman
229f9a8364 Support wildcard category name in export messages config #10359 2015-12-14 14:04:06 +03:00
Daniel Gomez Pan
c5eebe1a00 Fix test for migration 2015-11-25 10:56:53 +01:00
Daniel Gomez Pan
0b950f4039 Fix phpdocs and small bug 2015-11-24 20:03:09 +01:00
Daniel Gomez Pan
2a1764f97a Enhancements for #9465 2015-11-23 13:33:26 +03:00
Alexander Makarov
76e8556d34 #9465 better naming, code polish, changelog, docs wording 2015-11-20 22:50:32 +03:00
Daniel Gomez Pan
9afd240ab6 Fixes #9465: ./yii migrate/create now generates code based on migration name and --fields 2015-11-20 22:08:47 +03:00
Klimov Paul
72ec914992 yii\console\controllers\MessageController improved allowing extraction of nested translator calls 2015-05-13 15:49:00 +03:00
Klimov Paul
bc735bb390 FileHelper usage added to AssetControllerTest 2015-05-04 20:07:19 +03:00
Alexander Makarov
6949992246 Simplified tests directory structure a bit 2015-04-16 12:10:01 +03:00