Commit graph

845 commits

Author SHA1 Message Date
ADmad
6c8b7fd878 Fixing locales lookup folder name. Closes #1744 2011-06-05 02:46:02 +05:30
Vitor Pacheco
bfa7c12866 printing the legend of the forms in the templates 2011-06-04 14:42:22 -03:00
José Lorenzo Rodríguez
1b97846ad9 Merge pull request #112 from hiromi2424/2.0_html_coverage_reporter_javascript_error
2.0 html coverage reporter javascript error
2011-06-02 19:18:51 -07:00
mark_story
cbc7e82bd2 Fixing issue where Aro nodes would be incorrectly formatted for use
with the AclComponent.  Fixes #1749
2011-06-02 21:53:56 -04:00
hiromi2424
1e9af715cc removed invalid access modifier from javascript in HtmlCoverageReport 2011-06-03 10:52:43 +09:00
mark_story
2650bd4639 Adding missing import that causes a fatal error when a deep
value is written to Configure early on.
Fixes #1753
2011-06-02 21:05:10 -04:00
hiromi2424
dcbf36c10a fixed underscored plugin name for coverage, now it must be camel-cased. 2011-06-03 07:47:38 +09:00
Leonid Mamchenkov
8271970639 Fix for PHP notice (Fixes #1424) 2011-06-02 01:12:25 +03:00
Juan Basso
cb88b952f4 Supporting template/layout in plugins for CakeEmail. Fixes #1743. 2011-05-31 22:57:08 -04:00
mark_story
282196a7cd Fixing doc block for CakeRequest::$data. Refs #1746 2011-05-31 21:48:41 -04:00
Neil Crookes
ea82261ad8 Removing call to RssHelper::header() as method does not exit 2011-05-31 22:50:47 +01:00
Juan Basso
6f821e0d4d Changes relatives to templates from last commit. 2011-05-30 23:11:09 -04:00
Juan Basso
21348169fa Camelized templates folder. 2011-05-30 23:02:39 -04:00
Juan Basso
192812ee7f Updating the copyright to 2011. 2011-05-30 22:32:43 -04:00
mark_story
69c43a5762 Fixing issue where SecurityComponent::csrfUseOnce = false
caused forms that weren't the first to fail.
Fixes #1745
2011-05-30 21:49:18 -04:00
Juan Basso
aacb921695 Pattern to use skipIf in tests. 2011-05-30 20:51:36 -04:00
Renan Gonçalves
ed96936ea7 According to CakePHP conding styles, methods prefixed by _ are protected. Changing where it makes sense and don't break anything. 2011-05-30 22:26:42 +02:00
Renan Gonçalves
438050dcaa Adding 'public' visibility to all public methods. 2011-05-30 22:02:32 +02:00
Renan Gonçalves
9f9b36830a Fixing the bake_test_app path, so any remaining file will be removed at the end of the test. 2011-05-30 21:14:21 +02:00
Renan Gonçalves
d0af5c78d5 Fixing the path used to create fixtures. 2011-05-30 21:04:38 +02:00
Renan Gonçalves
f55fa4d026 Removing the specific getPath() method, it was giving the same result as the parent one. 2011-05-30 20:52:58 +02:00
Renan Gonçalves
88db6f328b Fixing tests to reflect last changes made on TestTask. 2011-05-29 19:42:13 +02:00
Thomas Ploch
3c996bb96a Addition to commit a80d82e4a0. Adding unloading of TestPlugin in ShellTest. 2011-05-29 16:43:07 +02:00
ADmad
c5a2efc5dd Merge pull request #103 from tPl0ch/2.0-bake-controller
2.0 Shell - Wrong underscore naming of Shells and Tasks
2011-05-29 04:56:40 -07:00
Thomas Ploch
a80d82e4a0 Fixed Shell naming from using Inflector::underscore() to Inflector::camelize(). Added small test case for Shell naming. Fixed missing CakePlugin::load() call in ShellTest. 2011-05-29 12:32:30 +02:00
ADmad
4c042ae133 Adding proper visibility keywords for class functions 2011-05-29 03:31:34 +05:30
ADmad
e5f2f6a236 Fixing test cases 2011-05-29 02:50:09 +05:30
Mark Story
80b70c100e Merge pull request #100 from kamui545/2.0
Fixed 'require' error in ACLBehavior in CakePHP2.0
2011-05-28 08:49:09 -07:00
mark_story
f905237303 Adding missing import. Fixes #1736 2011-05-28 11:42:20 -04:00
Maggion Emmanuel
8a701f3ac9 Fixed this following error: failed to open stream: No such file or directory [CORE\Cake\Model\Behavior\AclBehavior.php, line 52] 2011-05-28 06:45:06 -07:00
ADmad
40c397b003 Merge pull request #98 from majna/2.0
Fix for wrong callback in $callbacks array: renamed afterError to onError
2011-05-27 15:02:48 -07:00
Majna
17384f3cf4 Fix for wrong callback in $callbacks array: renamed afterError to onError 2011-05-27 23:23:11 +02:00
Ceeram
2d78d59a7b Small optimization, remove unneeded else 2011-05-27 23:13:57 +02:00
Jose Lorenzo Rodriguez
e669a81e0a Reverting change in ConnectionManager, sourceList() will only return the instantiated datasources
Fixing remaining tests failing due to contamination of loaded plugin is app
2011-05-27 02:28:38 -04:30
Jose Lorenzo Rodriguez
aca592ad93 Avoiding the use of default connection in schema shell tests 2011-05-27 02:18:36 -04:30
Jose Lorenzo Rodriguez
b320e4323f Improving ConnectionManager tests 2011-05-27 02:13:35 -04:30
Jose Lorenzo Rodriguez
2c32d34faf Removing more dead code 2011-05-27 01:48:28 -04:30
Jose Lorenzo Rodriguez
1f6c5fbc87 Removing dead code 2011-05-27 01:47:22 -04:30
Jose Lorenzo Rodriguez
ad456bd479 Removing code that should not have existed in the first place 2011-05-27 01:42:03 -04:30
Jose Lorenzo Rodriguez
faa8b3d324 Avoiding the load of default connection in Sanitize test 2011-05-27 01:40:25 -04:30
Jose Lorenzo Rodriguez
01f6744e35 Removing unneeded line in ConnectionManager 2011-05-27 01:31:50 -04:30
Ceeram
005c690d94 Fixing incorrect filename for FormAuthenticateTest 2011-05-26 21:44:45 +02:00
Ceeram
266058e67a Moving the sort to also sort plugin objects, sorting in test removed 2011-05-26 19:33:36 +02:00
Ceeram
cea4e4e98e Sort objects before storing 2011-05-26 19:16:17 +02:00
Ceeram
964ff45a41 Fixing assumptions parameter order 2011-05-26 16:54:31 +02:00
Ceeram
26588827dc Fix incorrect exceptions message for missing plugins 2011-05-26 16:24:54 +02:00
Ceeram
5f97292648 Change case of Controller::$plugin, fixing missing plugin exceptions, tests updated. Also removing no longer needed camelize() calls 2011-05-26 15:31:40 +02:00
Renan Gonçalves
3f72c92226 Removing the unset(->db); since it trigger errors by the Fixture Manager when it tries to drop the created tables. 2011-05-24 19:56:45 +02:00
Renan Gonçalves
2ca849a068 Tests no longer have access to ->_fixtures, refactoring it to use Fixture Manager instead. 2011-05-24 19:56:04 +02:00
Renan Gonçalves
33d00380ed Fixing cross database tests by making sure the fixture was created for the right database. 2011-05-24 19:32:38 +02:00
Renan Gonçalves
423fa8127e Skipping Oracle tests if not using Oracle configuration. 2011-05-24 18:45:10 +02:00
Renan Gonçalves
a6ed66892e Including SqlServer and Oracle tests to the AllDatabase tests. 2011-05-24 18:41:51 +02:00
Ceeram
aac8f6880f load the TestPlugin to avoid missing plugin exception in testInitialize() 2011-05-24 17:10:00 +02:00
Ceeram
76b3f5a21c removing unneeded App::build() calls in the tests, tearDown() already does this, also always build with App::RESET 2011-05-24 17:01:21 +02:00
Ceeram
14b065e229 changing AppImportTest classname to AppTest 2011-05-24 09:05:23 +02:00
Juan Basso
acc0660989 Changed the emails folder in layouts to CamelCased. Fixes #1730. 2011-05-24 01:05:29 -04:00
Juan Basso
3812ac70cb Fixed the default name of email transport. Fixes #1728. 2011-05-24 01:01:58 -04:00
Juan Basso
2ea5be5de2 Merge branch '2.0-mssql' into 2.0 2011-05-24 00:07:56 -04:00
Juan Basso
dee3efab49 Renaming the index name to be compatible with SQL Server. 2011-05-24 00:07:38 -04:00
Juan Basso
02d4188a29 Skipping tests that is not compatible with SQL Server. 2011-05-23 23:16:13 -04:00
Juan Basso
a744a74f1e Not changing to NULL strings. 2011-05-23 23:10:44 -04:00
Jose Lorenzo Rodriguez
a05607856a Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-05-23 11:05:33 -04:30
Jose Lorenzo Rodriguez
1e7bf963c3 Removing unused function App::setObjects() 2011-05-23 11:03:11 -04:30
Ceeram
37fcfb9c86 reset objects when using App::build() with App::RESET 2011-05-23 11:34:13 +02:00
Juan Basso
0ae9974b3f Updating the test to be compatible with others dbo drivers. 2011-05-23 00:31:21 -04:00
Juan Basso
7bae41c461 Fixed the error check in queries and storing the right value to last affected in non-select queries. 2011-05-23 00:22:08 -04:00
Jose Lorenzo Rodriguez
a2f725ff76 Fixing loading list of tests cases for plugins broken in recent commits 2011-05-22 22:58:52 -04:30
Juan Basso
39320ef352 Renamed the Mssql driver to Sqlserver. 2011-05-22 23:19:13 -04:00
Juan Basso
846634d729 Changed the test to be compatible with all tests. 2011-05-22 22:50:29 -04:00
Jose Lorenzo Rodriguez
8d52907be7 Merge remote-tracking branch 'origin/2.0' into 2.0 2011-05-22 21:55:07 -04:30
Juan Basso
76831863e3 Skipping tests that is not compatible with SQL Server. 2011-05-22 22:21:01 -04:00
Jose Lorenzo Rodriguez
5b8865a3a7 Making plugin routes load after app routes, closes #1722 2011-05-22 21:50:56 -04:30
Juan Basso
e049e35b5d Catching the error in execute for SQL Server to have the same behavior from the others drivers. 2011-05-22 22:16:22 -04:00
mark_story
87bccdafe6 Updating PluginTask to filter out paths that don't exist, and not offer
them as options for baking plugins into.  Fixes #1723
2011-05-22 22:04:08 -04:00
mark_story
68482be3f1 Updating path to match the one found in the repository. 2011-05-22 22:04:08 -04:00
mark_story
85752e21c1 Removing undefined variable use.
Making the plugin path match the old plugins directory.
2011-05-22 22:04:08 -04:00
Ceeram
95a5b99b0e Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-05-22 23:36:48 +02:00
Ceeram
661a0cca23 removing DS, App::core('Console') already ends with DS 2011-05-22 23:29:17 +02:00
mark_story
1d687214e9 Fixing ViewTask so it creates properly cased directories for 2.0.
Fixes #1725
2011-05-22 14:42:43 -04:00
mark_story
4d76840d44 Fixing 'no' option when baking projects. Replying no, will enter
iteractive mode now.  Fixes #1721
2011-05-22 08:56:19 -04:00
mark_story
2b20eb8999 Fixing issues with ProjectTask and absolute paths.
Fixes #1720
2011-05-22 08:49:51 -04:00
Juan Basso
195653bdfc Updated the Mssql tests with fixes of insertMulti. 2011-05-22 01:11:57 -04:00
Juan Basso
f0db55de6f Using dbo methods to manage the transaction. 2011-05-22 01:07:58 -04:00
Juan Basso
82e2d9e271 Updating model tests to support Mssql driver. 2011-05-22 00:59:15 -04:00
Juan Basso
ad67f3e1bc SQL Server PDO support prepare only to SELECT statements, others commands need to use exec method. 2011-05-22 00:49:49 -04:00
Juan Basso
968fa1d5ef Included an option to configure the prepate statement. SQL Server requires the cursor option to return the affected rows. 2011-05-21 22:40:30 -04:00
Juan Basso
11d249e43b Updating PHPDoc and method visibility. 2011-05-21 22:18:57 -04:00
Juan Basso
3e4cd4fdbb Removed the simulate flag that is not used. 2011-05-21 22:10:05 -04:00
Juan Basso
375f86d2a6 Changed the default empty value when create columns. 2011-05-21 21:50:25 -04:00
mark_story
3dcee7136d Bumping version number. Fixes #1724 2011-05-21 20:57:03 -04:00
mark_story
42b93dc29f Adding assert left out of previos commit. 2011-05-21 20:21:15 -04:00
mark_story
438734c202 Improving code coverage in Configure. 2011-05-21 15:49:28 -04:00
mark_story
ed68368201 Fixing HtmlCoverageReport so it properly enables the test subject class as best it can. 2011-05-21 13:34:24 -04:00
Jose Lorenzo Rodriguez
bfcfa4c06e Marking 2.0.0-alpha 2011-05-20 22:18:14 -04:30
Jose Lorenzo Rodriguez
85c505fd4f Fixing recently broken tests 2011-05-19 21:35:51 -04:30
Jose Lorenzo Rodriguez
38ad1bfc62 Revert "Update App::objects() cache after App::build()."
This reverts commit f9b02dde44.
2011-05-19 21:31:02 -04:30
José Lorenzo Rodríguez
a718b1d91c Merge pull request #89 from sitedyno/2.0-cakeplugin-tests
2.0 cakeplugin tests
2011-05-19 14:05:18 -07:00
Heath Nail
f9b02dde44 Update App::objects() cache after App::build().
Prevents console from crashing because it would try to load test plugins
(from object cache) that it didn't know how to find.
2011-05-19 16:55:01 -04:00
Heath Nail
4ccf5c0885 Clear application plugins before running the first test. 2011-05-19 16:26:49 -04:00
Heath Nail
a7ec73b523 Update the object cache.
Keep application plugins out of core tests, otherwise tests will fail.
2011-05-19 16:25:25 -04:00