Commit graph

192 commits

Author SHA1 Message Date
Jose Lorenzo Rodriguez
bb8c41d1e4 Fixing more tests related to changes on model validation 2011-04-21 19:12:16 -04:30
Jose Lorenzo Rodriguez
d788301ec9 Fixing failing tests due to recent changes in model validation 2011-04-21 19:01:15 -04:30
Jose Lorenzo Rodriguez
e2591537ed Fixing error in Task tests 2011-04-21 18:57:21 -04:30
Jose Lorenzo Rodriguez
a8c2dbfd72 Fixing tests related to PluginTask 2011-04-21 17:55:35 -04:30
mark_story
63275626ee Adding backwards compatible cookie reading back into CookieComponent.
Cookie values using the 1.x formatting will be read, and upon next write
be converted to json encoded values.
Fixes #1593
2011-04-18 22:07:45 -04:00
mark_story
d4ff39206a Making CookieComponent use json_encode instead of a custom
serialization.  Fixes issues where values containing | or , would be
handled incorrectly.  Fixes #1593
2011-04-18 22:07:45 -04:00
ADmad
3844966714 Changed default value for key 'last' in validator options to true. Also implemented ability to list messages for all failed validations for a field at once, instead of current display of just one message at a time. 2011-04-18 02:08:48 +05:30
AD7six
010feb2092 prevent surpirses with Folder not being available.
Previously loading File would load Folder also - that's not true with
the new changes, ensure that the Folder class is regsitered with
App::users when the Folder class is used.
2011-04-17 18:03:43 +02:00
Jose Lorenzo Rodriguez
f14a295a3e Adding a ConenctionManager::drop() method useful for testing and other dynamic tasks 2011-04-16 22:57:05 -04:30
ADmad
c80a51a163 Splitting View::element() param $params into $data and $options. Removed param $callbacks, use key 'callbacks' in $options array instead. Closes #1646 2011-04-17 07:00:14 +05:30
ADmad
d83712ce43 Renaming Model::$_findMethods to Model::$findMethods and changing visibility to public. Closes #1328 2011-04-17 06:09:00 +05:30
mark_story
a7a076dbee Fixing ExceptionRenderer so it can render exceptions that are subclasses
of CakeException that do not have custom templates, like ConfigureException.
Removing $lastError as it doesn't work.
Added tests.
2011-04-16 18:13:52 -04:00
mark_story
a0660ffd9d Fixing constants being incorrect when calling cake console from the root of the source tree checkout. 2011-04-16 09:32:54 -04:00
Jose Lorenzo Rodriguez
7b8d395cb0 Fixing last few errors after folder renaming 2011-04-11 23:31:00 -04:30
Jose Lorenzo Rodriguez
998b04d438 Moving recently created files 2011-04-11 23:19:49 -04:30
Jose Lorenzo Rodriguez
9f5ab79abc Fixing bake tasks after most recent changes 2011-04-11 23:01:48 -04:30
Jose Lorenzo Rodriguez
000e05b468 Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
Conflicts:
	cake/libs/view/helpers/js.php
	cake/tests/lib/templates/missing_conenction.php
	cake/tests/lib/templates/missing_connection.php
	lib/Cake/Model/ConnectionManager.php
	lib/Cake/TestSuite/templates/missing_conenction.php
	lib/Cake/View/Helper/FormHelper.php
	lib/Cake/tests/Case/Core/ConfigureTest.php
2011-04-11 22:48:08 -04:30
Jose Lorenzo Rodriguez
96baa3015e Making all test groups run again,
small fixes in some tests to make them pass
2011-04-11 22:23:44 -04:30
Jose Lorenzo Rodriguez
9d90c555eb Fixing constant use 2011-04-11 22:17:59 -04:30
Jose Lorenzo Rodriguez
cbdafb3f3b Fixing TestsuiteShell test 2011-04-11 22:16:19 -04:30
Jose Lorenzo Rodriguez
1bbdefc4ad Fixing some bake tasks 2011-04-11 22:15:51 -04:30
Jose Lorenzo Rodriguez
241a3bf624 Fixing ProjectTask tests and renaming folders in skel directory 2011-04-11 21:43:40 -04:30
Jose Lorenzo Rodriguez
662abd6419 Refactoring FixtureTask so it generates correct file names 2011-04-10 20:56:06 -04:30
Jose Lorenzo Rodriguez
d561460fda Refactoring TestTask so it generates tests according to the new file naming standard 2011-04-10 20:49:16 -04:30
Jose Lorenzo Rodriguez
0263ffc74e Renaming tests folders and making tests runnable again 2011-04-10 20:08:24 -04:30
Jose Lorenzo Rodriguez
7f31cfb173 Renaming all fixtures 2011-04-10 19:46:18 -04:30
Jose Lorenzo Rodriguez
74e50d3d98 Moving Console related tests 2011-04-10 19:36:06 -04:30
Jose Lorenzo Rodriguez
2a9679e5b7 Renaming Test Suites 2011-04-10 19:26:26 -04:30
Jose Lorenzo Rodriguez
37745ab50a Moving all tests one dir up 2011-04-10 19:24:41 -04:30
Jose Lorenzo Rodriguez
cd26ec7a88 Moving TestSuite related tests 2011-04-10 19:23:36 -04:30
Jose Lorenzo Rodriguez
51eba8bd25 Moving View related tests 2011-04-10 17:19:32 -04:30
Jose Lorenzo Rodriguez
b3c4734d75 Moving Session engine tests 2011-04-10 17:08:01 -04:30
Jose Lorenzo Rodriguez
d9da6b00c6 Moving Utility related tests 2011-04-10 17:06:55 -04:30
Jose Lorenzo Rodriguez
063592d628 Moving Routing related tests 2011-04-10 17:01:53 -04:30
Jose Lorenzo Rodriguez
0a1f9d17c3 Moving Network related tests 2011-04-10 16:50:39 -04:30
Jose Lorenzo Rodriguez
14bbe07a4e renaming abstract class from wich all model tests inherit 2011-04-10 16:40:30 -04:30
Jose Lorenzo Rodriguez
4f1f833aca Moving some of the Model related tests 2011-04-10 16:36:53 -04:30
Jose Lorenzo Rodriguez
6bafbf429d Moving Log related tests 2011-04-10 16:19:19 -04:30
Jose Lorenzo Rodriguez
764b039e58 Moving I18n tests 2011-04-10 16:17:37 -04:30
Jose Lorenzo Rodriguez
c449a7bbf5 Moving Error related tests 2011-04-10 16:15:34 -04:30
Jose Lorenzo Rodriguez
222870a26e Moving Core related tests 2011-04-10 16:10:36 -04:30
Jose Lorenzo Rodriguez
fcdf9ce81f Moving configure related tests 2011-04-10 16:08:16 -04:30
Jose Lorenzo Rodriguez
98bb39f476 Moving cache related tests 2011-04-10 16:06:20 -04:30
Jose Lorenzo Rodriguez
974a153818 Moving tests files to follow the naming schema and to mirror the new internal CakePHP structure 2011-04-10 15:59:26 -04:30
Jose Lorenzo Rodriguez
50b47c8729 Renaming constants and fixing the last error related to folder renaming 2011-04-10 15:32:45 -04:30
Jose Lorenzo Rodriguez
7f2734d053 Starting to migrate internal tests files to the new file schema, and fixing related tests 2011-04-10 15:02:19 -04:30
Jose Lorenzo Rodriguez
6737380deb Partial migration of folders to camelcase in app 2011-03-22 00:46:51 -04:30
Jose Lorenzo Rodriguez
ac0ec44f51 Fixing some extract console tests 2011-03-21 01:26:07 -04:30
Jose Lorenzo Rodriguez
c9ae3c26c4 Removing more code from test app home.ctp file so testing becomes easier 2011-03-21 01:12:32 -04:30
Jose Lorenzo Rodriguez
b68bc7d4aa Removing session helper usage in default layout of test app to avoid haing to mock an additional class 2011-03-21 00:50:43 -04:30