mark_story
9b8c280492
Updating doc blocks.
2011-09-12 23:00:56 -04:00
Mark Story
0e9b3dd613
Merge pull request #198 from jellehenkens/2.0-rss-helper-tests
...
Added tests for the RssHelper for code that was not covered
2011-09-12 19:59:09 -07:00
ADmad
97a975c6c4
Refactoring Model::invalidFields() a bit.
2011-09-12 05:10:34 +05:30
Jelle Henkens
236200ca56
Improved error handling for writing the test file to disk
2011-09-10 17:02:22 +01:00
Jelle Henkens
38196bda3f
Adding missing test scenarios in the rss helper
2011-09-10 11:49:49 +01:00
Jelle Henkens
653163c891
Adding missing test scenarios in the paginator helper
2011-09-09 21:47:26 -04:00
mark_story
608e5ee04b
Refactoring test.
...
Removing expectError() replacing it with PHPUnit annotation.
2011-09-09 21:43:57 -04:00
Jelle Henkens
aa4545217e
Fixing test by splitting them up, testing the expected error ignored the next asserts
2011-09-09 21:40:05 -04:00
mark_story
60981fcb4b
Hardcoding 'app' in JsHelper
...
Applying patch from 'Jelle Henkens'.
Hardcoding this value fixes issues where the variable name
would change if you renamed your app directory. Fixes environment
specific bugs.
Fixes #1981
2011-09-09 21:35:44 -04:00
mark_story
3cb3424b4f
Add App::uses to baked controllers.
...
Controllers should load their dependencies.
Bake should help with the best practice.
Fixes #1971
2011-09-09 20:43:04 -04:00
mark_story
7c08c966b0
Adding App::uses() call to model baking.
...
Models should always include their parent classes to be safe.
Bake should reflect the best practice.
Refs #1971
2011-09-09 20:43:04 -04:00
mark_story
1743eaa776
Fix issue with HABTM fields
...
habtm fields were not being correctly being detected.
2011-09-08 22:18:44 -04:00
mark_story
d6b978c0e8
Moving declaration of $fieldset
...
Its used in base Helper methods, so that's where the property
should live as well.
2011-09-08 20:44:33 -04:00
mark_story
fa8bdfd0dd
Add fix and test for CamelBack input names.
...
Refs #1974
2011-09-08 20:34:41 -04:00
mark_story
fbc76f195f
Fixing other failing test.
...
This test was failing because of changes made to Configure + error
handling.
2011-09-08 20:18:30 -04:00
hirata
e86ae43796
Fix SQL when using operator SIMILAR TO
...
Fixes #1979
2011-09-08 20:18:12 -04:00
mark_story
63902ab73f
Adding failing test for similar to.
...
Refs #1979
2011-09-08 20:11:09 -04:00
mark_story
da6a5fa301
Fixing failing tests for float formatting.
2011-09-08 20:09:48 -04:00
mark_story
1e1671ab7f
Removing getTests. Fixing failing test.
2011-09-08 19:55:13 -04:00
zoydsan
cd14874b59
Backport unit tests from branch 2.0 (tests for strings concatenated with '.')
2011-09-08 19:55:02 -04:00
zoydsan
200c85c7c4
Ticket #1669 , i18n: parse (multiline) strings concatenated with "." (for 1.3 branch)
...
The patch builds on the code of cake 2.0, but with this fix, comments are allowed, and an exception is thrown if invalid output is found. Examples:
__('Split' . ' string') => ok
__('Split' . // Comment
' string') => ok
__('Split' . $var) => error
2011-09-08 19:48:53 -04:00
mark_story
31b07795b2
Fix create() and onsubmit option.
...
Backporting bug-fix from 2.0
Removing support for onSubmit variant. Additional
choices are not necessary. Fixing onsubmit option
not correctly working.
Fixes #1977
Conflicts:
cake/libs/view/helpers/form.php
2011-09-07 21:07:34 -04:00
Jelle Henkens
ae942a7f7b
Added tests to test ajax settings
2011-09-07 21:03:48 -04:00
Mark Story
8880e0c668
Merge pull request #192 from jellehenkens/2.0-html-helper-tests
...
Added tests for the HtmlHelper for code that was not covered
2011-09-07 18:03:02 -07:00
mark_story
6ab59a447c
Fix create() and onsubmit option.
...
Removing support for onSubmit variant. Additional
choices are not necessary. Fixing onsubmit option
not correctly working.
Fixes #1977
2011-09-07 20:59:04 -04:00
Jelle Henkens
3c8c2936b3
Added tests to test ajax settings
2011-09-07 20:59:04 -04:00
mark_story
ac0b2b8280
Applying patch from Daniel Feinberg for Containable
...
Removes __backContainableAssociation as its not needed and causes
more problems than it solves.
Fixes #1762
2011-09-07 20:39:12 -04:00
Daniel Feinberg
95b275dc3b
Adding a test that fails for ticket #1762
...
Signed-off-by: mark_story <mark@mark-story.com>
2011-09-07 20:31:21 -04:00
mark_story
73a6ebea8d
Add cross version constants.
...
Add constants for older versions of PHP which may be missing them.
Fixes #1975
2011-09-07 20:12:22 -04:00
Jelle Henkens
e6826fea21
Adding tests for HtmlHelper
2011-09-08 00:59:39 +01:00
Mark Story
9587892727
Register AppHelper for autoloading
...
Fixes issues where people with no core helpers loaded would hit fatal
errors.
Fixes #1973
2011-09-07 16:46:59 -04:00
T0aD
5e7509be55
Add unix sockets support to memcache.
2011-09-07 07:25:43 -04:00
mark_story
a61bd5e3e8
Adding tests for unix socket support in Memcache.
...
Refs GH#194
2011-09-07 07:18:47 -04:00
mark_story
b1c4b57d85
Updating doc comment about find(list).
...
Refs #1968
2011-09-06 08:00:08 -04:00
mark_story
39c270fd84
Attempting to fix build failure in Jenkins.
2011-09-05 21:53:29 -04:00
mark_story
a0d531cef2
Updating documentation with missing option.
2011-09-06 02:37:43 +01:00
mark_story
3d44489b0c
Deprecating the %page% style placeholders in PaginatorHelper.
...
Updating scaffold and bake templates to not use deprecated placeholders.
2011-09-06 02:37:43 +01:00
Mark Story
7adcfd6ef7
Merge pull request #187 from kamui545/patch-2
...
Fixed typo
2011-09-05 17:52:47 -07:00
Maggion Emmanuel
d675b4270d
Fixed typo
2011-09-05 13:23:26 +03:00
mark_story
2c3fa32a5d
Splitting big test up into smaller ones.
2011-09-05 09:56:25 +01:00
Mark Story
37e32e9af5
Merge pull request #185 from jellehenkens/scientific-notation
...
Patch for ticket #1965 - Scientific notation in queries
2011-09-05 01:55:37 -07:00
Jelle Henkens
53d221c3d1
Fixing bug where scientific notations were not passed to mysql in their original form which resulted in loss of precision
2011-09-05 01:41:38 +01:00
Jose Lorenzo Rodriguez
b2fac1b1e7
Releasing 2.0.0-RC1
2011-09-04 12:30:53 -04:30
Mark Story
15a1741216
Merge pull request #182 from jellehenkens/1.3
...
Fixes #1938 - toRSS() generates the wrong timezone when using userOffset.
2011-09-04 07:40:09 -07:00
mark_story
684c154777
Removing more flaky tests.
2011-09-04 10:50:15 +01:00
mark_story
2218923782
Removing a failing test. I think the encoding of the file has changed over time,
...
and I don't have a typeface with lowercase Georgian text.
2011-09-04 10:22:35 +01:00
Jose Lorenzo Rodriguez
95c25a0618
Oops, removing testing code
2011-09-04 04:51:30 -04:30
Jose Lorenzo Rodriguez
3d0af8b690
Adding a new exception renderer method to show useful error for failed queries
2011-09-04 04:50:19 -04:30
Jose Lorenzo Rodriguez
843f7e3eef
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-09-03 21:08:50 -04:30
Jose Lorenzo Rodriguez
12c73806f4
Skipping tests on Sqlite that involve creating a duplicate connection/ It is not possible to open multiple connections to it
2011-09-03 21:07:40 -04:30