Commit graph

10784 commits

Author SHA1 Message Date
AD7six
13fe6ec424 slim down some more logic 2011-05-29 01:57:18 +02:00
AD7six
8b1045a631 simplify path logic
we know the category - use it to simplify some regexs
2011-05-29 01:49:21 +02:00
AD7six
dcf14a7a44 rename the model test such that is coincides with the file it's testing 2011-05-29 01:22:38 +02:00
AD7six
ca59ea3dd5 make it possible to use "cake test <file>" 2011-05-29 01:19:14 +02:00
AD7six
a6fecb5c6f prepare for allowing cake test <file> 2011-05-28 23:42:40 +02:00
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
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