Commit graph

1171 commits

Author SHA1 Message Date
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
gwoo
047c5fc040 refactor ShellDispatcher::parseParams(), fixes #4771
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7049 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-27 21:43:15 +00:00
gwoo
a2b873d0f8 adding test to schema, closes #4731
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7048 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-27 18:44:55 +00:00
mark_story
78e534b73b Refactored month() to take monthNames in the options array. Added options descriptions to several doc blocks. Tests updated.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7047 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-27 00:07:00 +00:00
gwoo
13a717aed6 updating Cache engines, fixes #4759
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7045 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-26 19:24:09 +00:00
nate
9eeecc8755 Adding content stripping fix for email component, fixes #4753
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7043 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-25 18:08:55 +00:00
TommyO
c9c3983296 Additional email component tests. Fixes for existing tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7042 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-25 15:39:31 +00:00
mark_story
dcdfdb3cbe Updated Auth redirect url generation. Now correctly retains passedArgs and namedParams. Added tests for this behavior. Closes #4750
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7040 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-24 22:43:19 +00:00
mark_story
9da3e638df Applied Enhancement submitted by 'chjunior', month display can be set to numbers or translated text. Closes #4327. Tests also updated.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7039 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-24 04:00:26 +00:00
mariano.iglesias
060bbf1caf Adding test to show proper use of allowEmpty on validation rules, closes #4749
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7036 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 20:46:42 +00:00
nate
6a99a6ba60 Changing Model::getColumnType() to return null for unknown fields, allowing for type introspection, updating docblock for Model::hasField(), fixes #4751
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7035 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 20:40:50 +00:00