Commit graph

1481 commits

Author SHA1 Message Date
DarkAngelBGE
501437baa0 introducing ClassRegistry::params() to fix testing of models associations; also removes the need for TestModels that extend the model under test to change the useDbConfig, fixes #5158, #5076 (kudos to nate)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7383 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 15:37:26 +00:00
DarkAngelBGE
eddf2ee5f3 conditional inclusion for ErrorHandler class in the session.test file in order to prevent the CakeSession class being redeclared when running the testsuiteshell; fixes #5092
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7382 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 14:00:36 +00:00
DarkAngelBGE
0948035eba fixing broken test in theme test file
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7381 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 13:57:24 +00:00
DarkAngelBGE
0d147f8652 fixing broken test in view test file
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7380 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 13:56:45 +00:00
DarkAngelBGE
1052d21522 fixing broken tests in FormHelper, closes #5088
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7379 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 13:40:59 +00:00
DarkAngelBGE
1fdc76ba1a enabling different paths for plugin tests closes #5105
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7378 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 13:39:17 +00:00
DarkAngelBGE
838ecb8527 doc comments for the test manager class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7377 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 13:37:06 +00:00
mark_story
bd298f0ff3 Fixed broken test.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7375 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 01:12:03 +00:00
mark_story
96b5a6fa87 Added test to prove #5125. Added documentation to updateAll.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7373 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-29 01:18:57 +00:00
gwoo
ce5550fb37 adding Cache::set() will change settings until write, delete, clear, or set is called. refactoring class to use Cache::set()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7371 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-28 02:29:58 +00:00
mark_story
9b857e9f36 Added camelCase check for setTablePrefix. setTablePrefix now fires on PHP5. Closes #5147
Updated test in model.test to reflect changes in empty string handling for float and integer types.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7368 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-27 04:19:54 +00:00
mark_story
8185fb87fc cleaning up requires to be App::import()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7367 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-27 03:36:30 +00:00
mark_story
8d2e4721e3 Added checks for empty string in integer columns. value() Now returns NULL. Closes #5141
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7366 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-27 02:49:02 +00:00
gwoo
e26b7e7a63 refactor dispatcher, fixes #5033
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7365 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-26 20:09:20 +00:00
gwoo
caa7bb6218 updating cache engines so key will expire when duration is changed, updated datasource and configure to for new settings, closes #5083
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7364 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-26 20:00:20 +00:00
nate
4451c02b1c Corrects handling of fully-qualified URLs in Router::normalize(), fixes #4036
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7363 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-25 11:45:00 +00:00
mark_story
6add903d84 Corrected key in validation::multiple test. closes #5146
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7362 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-24 23:55:15 +00:00
TommyO
5dc4388fa0 Added tests for template and layout rendering. Currently fail as component doesn't wordwrap properly. May also explain #4498
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7361 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-24 13:54:39 +00:00
TommyO
c466cfdc8b Adding elements and templates to test app for EmailComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7359 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-24 13:34:46 +00:00
nate
b0b9c1e4bd Adding PaginatorHelper tests for additional custom URL settings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7358 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-24 04:04:21 +00:00
mark_story
cc098629a6 Added direction check to Controller::paginate(). paginate() now forces 'asc' when wrong. Added tests. Closes #5120
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7357 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-24 02:46:39 +00:00
mark_story
d7b043a374 Fixing test_app/test_plugin files. Many had incorrect file / class names. Added tests to cover plugin class loading, and dispatching.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7355 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-24 02:19:05 +00:00
mark_story
c1dce9e7ff Implemented Validation::multiple() Tests added. Closes #5086, #3329, #4852
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7353 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-23 02:15:48 +00:00
mark_story
0b23ec64ff Modified all remaining tests to use CakeTestCase. Switched all uses() calls to App::import().
Added tests to configure.test to test importing from plugins.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7348 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-21 02:40:58 +00:00
mark_story
c286736f69 Added afterFind callback to Models where recursive >= 2. Added tests from 'ezyang'. Closes #5103
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7347 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-20 17:25:39 +00:00
mark_story
c1bac3358a Adding additional tests related to prefix routing. Shows usage in paginator. Refs #5115
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7346 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-19 17:20:42 +00:00
mark_story
c19e7ff3da Modified test to use accented characters.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7345 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-17 17:14:28 +00:00
mark_story
4355a13939 Altered TextHelper::truncate() when using exact = false and considerHtml = true close tags would be chopped off leaving incorrect Html. Closes #4941
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7342 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-16 12:40:49 +00:00
renan.saddam
8bbc0d7078 Added test case to prove #5096. Refs #5096
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7340 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-16 00:48:58 +00:00
joelmoss
029f2ab75c Created test to prove #4941. Refs #4941
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7339 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-15 11:01:44 +00:00
mark_story
b2d74c8be1 Added tests to cover model validation setting errors, controller render passing error and form helper field error display. Closes #5077.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7338 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-15 02:13:14 +00:00
mark_story
684fb5fcce Replaced in_array() with array_key_exists(). Closes #4465
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7336 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-12 00:23:08 +00:00
mark_story
20851bd548 Added ability to singularize 'gloves', 'wolves', 'shelves' and other ves words. Added tests. Closes #5080
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7335 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-12 00:22:09 +00:00
mark_story
5ec8eef6ce Added userOffset check to timeAgoInWords, tests added. Closes #5068.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7333 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-10 03:30:28 +00:00
AD7six
a98cafcfbe Adding test case for #5064
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7332 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-09 17:51:08 +00:00
nate
0cd5b435d9 Adding Router tests to verify URL generation with flags and prefixes both in and out of context
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7331 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-09 14:28:32 +00:00
joelmoss
aa1b0c776e JavascriptHelper::blockEnd now correctly respects safe option. Test also added. Fixes #5074
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7330 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-09 12:08:51 +00:00
renan.saddam
8d644172c9 fixing broken test, improving code coverage
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7329 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-09 04:07:16 +00:00
mark_story
acdbf66f50 Adding tests to object test. Coverage now ~80%
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7328 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-09 03:15:01 +00:00
mark_story
a341e74f03 String::insert() now variable safe. Tests added. Fixes 5041.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7327 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-07 23:24:39 +00:00
phpnut
ed0a031ec4 Adding correct test cases for #5046 showing proper prefix usage, closes #5046 as invalid
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7323 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 14:48:09 +00:00
phpnut
9bc1acb2ec Closes #5051, AjaxHelper form function should use mt_rand() instead of rand().
Replaced all rand() with mt_rand() in the core.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7322 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 14:31:22 +00:00
phpnut
bdc3685e62 Fixes #5024, find('threaded') returns empty array if root node is not included in the results.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7321 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 14:10:42 +00:00
phpnut
d853520e46 Fixes #5025, UTF8 signs are not treated correctly at form validation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7320 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 13:25:22 +00:00
phpnut
84069e372f Fixes #5021, findAllThreaded does not work with tables that have set primaryKey to something other than 'id'
Removed am() from Model::_findThreaded();
Cleaned up error.php and dispatcher.test.php

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7318 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 12:37:18 +00:00
gwoo
20439c098b adding another test case for img from vendors, closes #5033
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7317 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 12:24:51 +00:00
phpnut
5131e1c3b3 Fixing undefined variable usage in Model::saveField();
Fixes #5053 Model:saveField $options bug;

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7316 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 11:02:09 +00:00
phpnut
8b3dc85907 Committing test case I missed in [7314] for ticket #5016
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7315 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 10:27:29 +00:00
phpnut
6ee4849172 Removing invalid test case added in last commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7313 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 09:47:13 +00:00
phpnut
822c8978a9 Fixes #5002 Model name in PaginatorHelper sortKey.
Closes #5032
Small performance improvement in App::!__load();

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7312 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 09:44:42 +00:00
gwoo
5ddd330b11 closes #5019, updating test case to show that security component is operating as expected. fix for newLine in utf subject of email component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7311 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-04 14:18:01 +00:00
gwoo
a764b471f6 closes #5011, target _blank for all html links that open new windows
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7310 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-04 13:44:23 +00:00
gwoo
3ab12a868f updating controller test. closes #5029, if you change the content type with request handler in a test debug must be set to 0, see line 630 of RequestHandler. Fixed duration handling for core cache settings when debug equal to 1
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7309 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-04 13:26:43 +00:00
mark_story
3da913f392 Updated String::insert() so that when using ? as parameter it offsets the length of the parameter. Added tests to model, and string. Closes #5035
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7307 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-03 02:19:19 +00:00
mark_story
c25ed9016a Fixed attributes being set for select elements in formHelper::dateTime() when $options[id] is specified. Closes #5013.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7306 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-03 00:46:42 +00:00
mark_story
a2fdf97c41 Added test for deep array read and writes.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7304 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-01 23:55:46 +00:00
nate
f6934e3237 Fixing test database checking in CakeTestCase
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7303 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-01 16:42:44 +00:00
renan.saddam
88197569ad Added test case to #5008. Quoting numeric value 0 (zero)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7302 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-30 13:44:16 +00:00
mark_story
4b1de6ac0e Added test for setting extension with Router::connect()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7298 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-29 20:24:06 +00:00
nate
99eb60e7b0 Adding test case for DboSource::conditions(), disproves #5008
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7297 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-28 01:08:52 +00:00
gwoo
c004dd68a5 removing empty lines from the end of test cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7295 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 08:17:02 +00:00
gwoo
a6d12c7842 updating folder test to use TMP
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7294 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 08:04:54 +00:00
gwoo
2bf3a0b08f commented behavior.test for future cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7292 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 07:23:22 +00:00
nate
4fa9872969 Small correction to previous test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7290 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 06:54:40 +00:00
nate
7bad69a2d0 Adding test for CookieComponent::write() and writing an array of unencrypted key/value pairs, disproves #4997
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7289 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 06:52:36 +00:00
gwoo
06869fd4b3 updating file.test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7288 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 06:46:42 +00:00
gwoo
c78b02460f updating mode.test to comply with last changes to deprecated methods
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7287 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 06:33:53 +00:00
phpnut
022ffa3f4f Adding fixes for pagination on associated models.
Corrected dot notation use in Controller::paginate();

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7286 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 06:25:08 +00:00
nate
14e8c5fe7b Correcting inconsistent return values in Model::saveAll(), updating bad tests, fixes #4981
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7283 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 06:07:00 +00:00
gwoo
70276afa3b fixes #3456, Use = instead of IN where possible
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7280 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 05:14:52 +00:00
gwoo
1576a83505 fixing issue with sort in pagination and adding tests, removes previously deprecated controller methods and adds trigger_error to recent ones
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7276 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 00:43:31 +00:00
gwoo
924ca38fea updating view test case for enhancement
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7273 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 21:04:46 +00:00
AD7six
d000c59ceb Deprecating findNeighbours
adding find('neighbors')


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7272 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 19:42:07 +00:00
AD7six
383c11fc13 Adding test case for find('threaded');
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7269 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 17:28:12 +00:00
joelmoss
a34c3a85de removing getTests method from model test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7267 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 17:09:02 +00:00
joelmoss
65281500b3 Added test to disprove #4992. Closes #4992.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7265 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 14:12:48 +00:00
gwoo
3e8c2ad204 lets see if this closes #4982
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7263 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 06:05:15 +00:00
renan.saddam
57dabe311f adding test case to #4980, proving cake:nocache bug
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7262 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 05:26:10 +00:00
gwoo
cf25e1eb55 fixes #4982, params in console when baking app
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7261 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 03:50:11 +00:00
gwoo
abf3d0685a fixes #4986, .ctp extension failover for layouts
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7260 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-25 03:16:53 +00:00
phishy
c60b232ab4 fixed quoting bug in name()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7259 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-24 21:11:23 +00:00
gwoo
f2fd386217 fixes #4892 different users on oracle, fixes #4894 escaping field
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7258 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-24 20:30:51 +00:00
nate
3ce765358d Fixing boolean handling in DboPostgres, closes #4878
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7257 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-24 04:55:59 +00:00
gwoo
3552ebea58 converting spaces to tabs in dbo_postgres.test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7256 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-24 04:12:39 +00:00
renan.saddam
64486027db moving models to models.php
fixing translating issue

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7254 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-24 03:16:28 +00:00
gwoo
38bbfb66ce fixes #4976, escape chars in attributes of xml tags
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7253 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-24 01:38:40 +00:00
gwoo
013e9889e5 updating file engine and test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7252 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-24 01:09:54 +00:00
renan.saddam
bc82967dd1 * fixing "Nesting level too deep" in PHP 5.2
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7249 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 21:12:17 +00:00
gwoo
73eab59ada closes #4000, added test case to show ext functionality is working as expected
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7248 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 20:09:24 +00:00
gwoo
91d86b91a4 fixes #4832, lastinsert in postgres. test added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7247 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 15:59:27 +00:00
mariano.iglesias
6eb4aba543 Changing test for Containable to reflect #4790
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7246 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 06:33:31 +00:00
gwoo
ca38b035b5 fixes #4790, restoring associations in Containable. Thanks to maular for the patch
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7245 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 04:41:15 +00:00
gwoo
352b121220 fixes #4916, i18n quoted strings. fixes #4968, quoted strings in cache
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7243 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 00:27:33 +00:00
gwoo
67f55ba53e fixes #3869, required css for validation fields
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7242 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 00:07:33 +00:00
gwoo
4759a4506b better fix for #3869
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7240 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 19:31:44 +00:00
gwoo
d29883993e fixes #3869, form 'required' CSS when not actually required
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7239 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 19:16:34 +00:00
DarkAngelBGE
8b9aa057dd adding test for #4861
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7237 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 15:18:30 +00:00
DarkAngelBGE
ca0fa7b796 adding a return value to the fixture::truncate() method,
fixing some doc comments in the fixture class

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7236 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 15:15:28 +00:00
DarkAngelBGE
a0ff55926c small formatting issues
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7235 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 14:28:45 +00:00
the_undefined
95522fa3a9 Applied patch by floob, fixes #4876
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7234 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 12:27:54 +00:00
mariano.iglesias
f7c447aa32 Adding test to containable, disproves and closes #4790
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7233 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 00:02:30 +00:00
mariano.iglesias
689c0d9762 Fixing matches from previous tests added to Containable
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7232 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 23:55:03 +00:00
mariano.iglesias
8d8fb99e37 Adding one more test case to Containable, refs #4872
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7231 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 23:54:00 +00:00
mariano.iglesias
9746c713fa Adding test cases to Containable, disproves and closes #4872
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7230 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 23:52:38 +00:00
mariano.iglesias
64d49c8afc Adding test cases to Containable, disproves and closes #4934
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7229 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 23:41:54 +00:00
gwoo
42db64bbb3 fixes #4778, rss helper addNs, closes #4949 xml helper serialize with test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7227 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 15:23:58 +00:00
nate
7b6ee7386b Correcting issue where TranslateBehavior hijacks find() calls from Model::exists(), fixes #4765
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7225 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 02:33:04 +00:00
nate
df75a06756 Fixing coding standards violations in core, and adding misc tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7222 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-20 20:17:23 +00:00
renan.saddam
66ea6be098 fixes #4958, Windows directory separator issue
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7221 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-20 19:30:29 +00:00
gwoo
c75cad26d5 updating model test for new find syntax
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7217 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-19 17:06:50 +00:00
gwoo
7d06612b35 closes #4935, NOT usage requires ()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7215 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-19 16:12:57 +00:00
nate
63217b7e10 Fixing failing tests in core helper group, closes #4946
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7213 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-19 14:31:00 +00:00
gwoo
8b493b2923 fixes #4947, debugger using LOG_DEBUG
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7212 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-19 14:23:29 +00:00
gwoo
82f4a03385 fixes #4923, argSeparator in Router::connectNamed()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7206 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-17 15:46:49 +00:00
gwoo
9bc88e5e40 update to test_manager to make sure dispatcher is loaded
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7203 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-17 05:11:57 +00:00
gwoo
52b9f7a889 closes #4903, closes #4669 allows serving images from vendors and plugin vendors
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7200 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-17 04:24:55 +00:00
phpnut
886183fcd4 Closes #4202
Adding patches
Added fixture files

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7198 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-16 03:11:32 +00:00
DarkAngelBGE
16fa9effb0 closes #4918, allowing multiple calls to testAction() in the same test run with supplied get data without interfering with the get data needed for the testsuite to work and also ignoring the get data used for the previous call to testAction
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7194 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-15 10:24:52 +00:00
DarkAngelBGE
ed6caf5d33 closes #4875, fixing uninitialized model group key for fixtures
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7193 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-15 09:17:23 +00:00
DarkAngelBGE
a83d373f51 allowing the passing group statements to Model::find() in array notation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7192 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-15 09:08:50 +00:00
gwoo
552af82e7b closes #4857, data validation in translate behavior, if field in model data is passed as an array. Either the data with current mode local or the first value in the array of data is used for validation purposes.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7190 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 23:21:09 +00:00
gwoo
9d950c7698 closes #4726, test cases added to show special characters in select options
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7189 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 21:48:57 +00:00
gwoo
8707c6861a fixes #4912, correct label "for" in time input
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7188 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 21:40:01 +00:00
gwoo
2d3480a9ae closes #4917, adding test cases to show that 0 is properly handled in conditions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7187 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 21:26:01 +00:00
gwoo
df2be46b00 fixes #4874, duplicate base when url is empty
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7186 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 21:12:56 +00:00
gwoo
069fb0011c fixes #4839, assets served from vendors must provide proper extension to ensure accurate content type header is set
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7185 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 21:05:06 +00:00
gwoo
e57a7cc88c fixes #4888, closes #4864 Model::set when saving multi dimensional arrays, tests added from patch, thanks renan
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7184 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 20:39:27 +00:00
gwoo
21072ae707 fixes #4889, or conditions and parentheses. Also removes unneeded parentheses which hopefully makes for cleaner looking query strings. Tests updated to match the new output.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7183 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 19:45:26 +00:00
mark_story
dada609521 Fixed issue where setting debug did not properly set error reporting level, test case added. Closes #4903
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7178 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-13 14:04:28 +00:00
gwoo
97a57a0f05 fixing bug in error handler when callbacks were moved to construct classes, moved callbacks back to dispatcher for now until we find a better place in the controller, fixed caching for the "home" page by adding check for "/', original test case was incorrect.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7177 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-12 18:36:08 +00:00
gwoo
75e157a167 updating error test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7175 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 16:01:11 +00:00
gwoo
1e231e9511 some cleanup, wrapping uses() in class exists
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7172 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 15:46:31 +00:00
phpnut
04343b8bc0 Adding changes to error.test.php that did not merge properly in last commit
Fixes #4883 for real this time

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7170 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 09:02:54 +00:00
phpnut
8a30290862 Fixes #4883 Duplicated component name
Removed bad test since AppController::beforeFilter() is now run when Controller::constructClasses() is called.
Fixed bug with App::import() not caching properly.
More performance changes

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7169 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 08:54:27 +00:00
DarkAngelBGE
763800bf11 fixing component name in error.test to remove Fatal Error when running the all group
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7167 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 07:56:51 +00:00
mark_story
44159ec303 Removed all references to Router::url in all helpers. Closes #4880. Fixed failing test in RssHelper, added more tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7164 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 02:10:32 +00:00
phpnut
6807d4c333 Starting initial refactoring of current code base.
Made changes to test suite to allow running test without headers already sent errors.
Moved Component::initialize(), Controller::beforeFilter(); and Component::startup(); from Dipatcher::start() to Controller::constructClasses();
Removed Dispatcher::start();
Fixing model instances not being created
Adding additional test to CookieComponent to increase coverage to 95%
Optimizing Set::diff();
Fixing SessionComponent test and RequestHandlerComponent test
Fixing CakeSession tests, removed deprecated code from CakeSession

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7162 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 22:38:05 +00:00
DarkAngelBGE
70aa290f5b fixing find('list') calls with a fields array that doesn't contain the model alias, closes #4851
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7158 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 17:27:12 +00:00
DarkAngelBGE
e221e9fb61 forcing the db layer to make an WHERE field IS NULL when find statements are called with empty arrays, closes #4845
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7155 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 16:17:44 +00:00
DarkAngelBGE
3c518c182f fixing wrong NOT IS in dbo_source, closes #4844
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7154 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 15:45:54 +00:00
mark_story
ebe6e31ef3 Changed Scaffold views to allow Type, Alias, Detail, Data, and Field as Model names. Closes #4136, #4859. Updated tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7152 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 02:12:32 +00:00
mark_story
8c32547351 Adding test to formHelper. Testing checkbox in response to #4869
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7146 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-09 12:34:30 +00:00
the_undefined
2d8e63ae7b Refactored and updated postConditions to new operator syntax, fixes #4860
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7145 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-09 08:29:56 +00:00
the_undefined
2f761ccba1 Set correct permissions for dbo_oracle.test.php, fixes #4843
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7144 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-09 07:31:00 +00:00
mark_story
8f59f18877 Added fallback view file for scaffolded admin routes. Closes #4862. Added tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7143 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-09 02:56:36 +00:00
gwoo
5807def032 updating some view stuff
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7140 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-08 15:44:46 +00:00
DarkAngelBGE
5869715a19 fixing broken controller test
fixing multiple times defined constant AppControllerExists for the all group to run

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7139 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-08 14:35:14 +00:00
DarkAngelBGE
7b7a45f66b fixing a couple code coverage manager tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7137 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-07 15:21:45 +00:00
DarkAngelBGE
2ca6136504 changing interface for group test cascading
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7136 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-07 15:19:57 +00:00
gwoo
1c21457eef fixes #4858, self referencing components
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7133 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-06 16:18:14 +00:00
DarkAngelBGE
52d72a63b5 fixing a little problem in acl test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7128 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-05 18:55:33 +00:00
AD7six
a978fb2661 adding Doc blocks to everything in tests folder missed in the first pass.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7126 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-05 15:20:45 +00:00
gwoo
f7365640bf updating dbo source test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7124 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-05 14:54:56 +00:00
gwoo
288db81884 fixes #4850
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7122 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-05 14:48:54 +00:00
nate
7e2b58b8d7 Adding test case for DboSource::order(), disproves #3098
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7117 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-04 19:27:55 +00:00
gwoo
b3f605c1d8 fixes #4836 components initialize for error pages, also changing Object::stop() to Object::_stop()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7116 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-04 19:04:58 +00:00
gwoo
298ede514c removing debug statement from form.test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7115 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-04 17:07:40 +00:00
the_undefined
de164962dc Disproving ticket, see #4709
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7114 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-04 16:27:19 +00:00
gwoo
071af32eb2 adding test cases showing usage of showParents in form helper, closes #4831
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7113 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-04 15:57:45 +00:00
mark_story
55bcf1e25e Components can have settings assigned in the components declaration, tests added. Closes #4055
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7112 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-04 02:39:05 +00:00
TommyO
f1921c15ef New tests added for xml-based helpers
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7109 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 22:33:21 +00:00
TommyO
57b6dedc49 Additional tests added for XmlHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7106 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 17:59:23 +00:00
mariano.iglesias
2d2096d9f7 Fixing issue where Containable was not resetting the original bindings properly when reset was false under some circumstances, fixes #4812
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7104 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 14:12:38 +00:00
nate
7dfb31200f Improving test case list display formatting
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7103 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 12:58:20 +00:00
nate
84a4bcfce4 Adding new-CGI environment settings to dispatcher test, disproves and closes #4807
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7102 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 11:38:20 +00:00
mark_story
fbed4d6bf9 Added maular's submitted tests. Closes #4786, #4789
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7099 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 04:43:44 +00:00
mariano.iglesias
1d56175560 Adding missing attach to replicate issue what was already solved for #4790
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7098 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 02:41:29 +00:00
nate
af16245ab0 Fixing persistent connection handling in Postgres driver, updating fixture with unique index name, removing support for deprecated 'connect' key in database drivers, closes #4773
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7097 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 02:26:40 +00:00
TommyO
93864f608a Added test cases for Xml namespaces
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7096 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 01:42:05 +00:00
mark_story
4b1335797c Updated session lib test to use fixtures, fixes some of the errors in the test.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7095 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 23:57:30 +00:00
AD7six
f44c755475 Adding doc blocks to everything in the tests dir
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7094 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 19:22:55 +00:00
mariano.iglesias
04b8270fb6 Adding tests to show use of bindModel with reset false and pagination in Containable, closes #4812
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7090 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 18:05:45 +00:00
gwoo
a7289ff89d updating cache engine to better deal with prefixes for multiple apps. Allows fully or partially overriding core settings from core.php. fixes #4810
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7089 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 17:35:56 +00:00
gwoo
09fae6203d fixing issue with references from latest component refactor. test case added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7088 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 04:57:06 +00:00
mark_story
1bc9d198cc Updating skel/cake.generic.css to remove validation warnings. Added test icons to test suite.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7086 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 03:36:20 +00:00
mark_story
7820d639b8 changed column datatyping in __destroy() closes #4782. Updated session test to use session fixture.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7084 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-01 22:03:29 +00:00
mariano.iglesias
3cfa3132e4 Fix issue with test and precision of float numbers. Adding test to show use of quoteKey, closes #4806
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7083 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-01 21:22:59 +00:00
mariano.iglesias
4b2b8fcc1c Adding tests to show HABTM saving with custom model keys, disproves and closes #4791
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7082 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-01 21:04:30 +00:00
mariano.iglesias
7101b8d4cd Adding tests for grouping with Product model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7081 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-01 19:00:33 +00:00
mark_story
9bea02d518 Adding product fixture and product model for group by tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7080 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-01 18:26:25 +00:00
mariano.iglesias
768e0c748b Keeping index when setting validation errors for saveAll, fixes #4769 and closes #4462
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7079 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 22:01:47 +00:00
mariano.iglesias
29c784be15 Adding test for issue when group and order are specified for a find
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7077 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 21:29:37 +00:00
gwoo
73e926fea8 adding test to model, closes #4809
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7076 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 16:57:30 +00:00
nate
39feb3f7c1 Refactoring DboSource. Model array conditions must now have comparison operators on the left side, fixes misc bugs, updated core to reflect changes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7075 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 12:36:38 +00:00
gwoo
c57b5611a0 adding patch for Acl::allow(), fixes #4792, closes #4781
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7072 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 04:31:30 +00:00
gwoo
14df77c12d removing memory usage line that was usage in component test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7071 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 04:03:49 +00:00
gwoo
cf896eaa9b refactoring component handling, closes #4795, tests added. deprecated Controller::_initComponents();
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7070 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 03:54:22 +00:00
mariano.iglesias
3a643bad92 Adding test for non existing layout when calling SessionComponent::setFlash, disproves and closes #4798
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7069 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 03:06:07 +00:00
mariano.iglesias
a94c890734 Adding test to show original associations working correctly, disproves and closes #4790
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7068 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 02:59:55 +00:00
joelmoss
d294e91d42 Fixing PHP error with $divOptions in FormHelper::input() when passing $option['div'] = false
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7066 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 16:05:53 +00:00
joelmoss
03322a31d7 FormHelper::submit() now accepts alternative wrapping tags, instead of a div.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7065 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 15:44:39 +00:00
joelmoss
4dfe7333b7 FormHelper::error() can now be passed the tag to wrap the error message in.
FormHelper::input() can now be passed the tag to wrap the input element in; same applies to the tag that wraps the error message.
Corrected date format in Form test testMonth().


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7064 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 15:07:32 +00:00
nate
42da5aba81 Moving Cake folder to correct location
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7063 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 11:40:08 +00:00
DarkAngelBGE
e6e0d852a2 deleting cake folder from svn
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7061 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 10:59:16 +00:00
DarkAngelBGE
f749143f5d enabling nesting of group tests in TestManager::addTestFile
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7060 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 10:27:56 +00:00
TommyO
ecc4347e25 Fixed bug for Authenticating against SMTP server. Added test case.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7058 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-29 17:26:43 +00:00
mark_story
78ff2ad4bd Implemented 'group' by conditions for model finds. Added tests from 'wluigi' Closes #2833
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7057 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-29 12:27:23 +00:00
AD7six
4bafc397f9 fixes #4761, tree behavior parameter array merge logic incorrect
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7056 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-28 16:02:31 +00:00
AD7six
26a31efbe5 fixes #4761, visibility in tree test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7054 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-28 15:26:29 +00:00
mark_story
ca48055ddb Added ability to specify cdata blocks and ignore special character stripping in RssHelper. Tests updated as well. Closes #4491
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7051 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-28 02:19:55 +00:00