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
1743eaa776
Fix issue with HABTM fields
...
habtm fields were not being correctly being detected.
2011-09-08 22:18:44 -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
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
Jelle Henkens
e6826fea21
Adding tests for HtmlHelper
2011-09-08 00:59:39 +01:00
Mark Story mark@mark-story.com
4d1f41dddc
Fixing failing tests cased by App::object() cache being warm.
...
Removing code duplicated in CakeTestCase methods.
Adding missing parent calls.
2011-09-01 00:38:08 +01:00
Juan Basso
a1a049c700
Merge remote-tracking branch 'origin/2.0' into 2.0-api-doc
...
Conflicts:
lib/Cake/Model/Model.php
lib/Cake/View/Helper/CacheHelper.php
2011-08-20 01:47:27 -04:00
Mark Story
46c07add3f
Fixing issues with HTML5 number inputs and float columns.
...
For float columns, the default step value is 'any'
Fixes #1907
2011-08-18 22:31:00 -04:00
Mark Story
54e1de9070
Adding visibility keywords to code that came from
...
a 1.3 merge.
2011-08-16 22:40:38 -04:00
Juan Basso
620a65b2fc
Merge branch '2.0' into 2.0-api-doc
...
Conflicts:
lib/Cake/Test/Case/View/Helper/CacheHelperTest.php
lib/Cake/Utility/Debugger.php
2011-08-14 21:12:05 -04:00
mark_story
182b13fdbd
Fixing failing test. In 2.0, absolute paths are not altered.
2011-08-14 14:49:56 -04:00
mark_story
d93c8cb200
Merge branch '1.3' into merger
...
Conflicts:
cake/libs/controller/components/security.php
cake/libs/view/pages/home.ctp
cake/libs/view/view.php
lib/Cake/Cache/Engine/FileEngine.php
lib/Cake/Config/config.php
lib/Cake/Model/Datasource/Database/Postgres.php
lib/Cake/Test/Case/Utility/SanitizeTest.php
lib/Cake/Test/Case/Utility/SetTest.php
lib/Cake/Test/Case/View/Helper/CacheHelperTest.php
lib/Cake/Test/Case/View/Helper/FormHelperTest.php
lib/Cake/VERSION.txt
lib/Cake/View/Helper/CacheHelper.php
2011-08-14 14:39:49 -04:00
ADmad
5d79299362
For paging links the 'class' attribute is now always applied to the wrapping tag for consistency. Closes #1759
2011-08-14 05:09:57 +05:30
Mark Story
6026aa4019
Adding tests for FormHelper::postButton() and SecurityComponent.
2011-08-10 22:00:02 -04:00
Mark Story
2ce2d06de2
Fixing issue where postLink() would fail when used with SecurityComponent.
2011-08-10 21:53:33 -04:00
Mark Story
e9382d0897
Fixing failing tests.
2011-08-10 21:40:53 -04:00
Maggion Emmanuel
27734507e4
Adding test case
2011-08-09 20:47:25 +03:00
Juan Basso
9bc3e567c1
Removed the @access and @static.
2011-07-30 20:56:48 -04:00
Dean Sofer
804e88b092
Added test for HTML5 FormHelper::input()
integer to number in $map
2011-07-26 02:19:41 -07:00
Jose Lorenzo Rodriguez
cfd2d9e00b
Updating all @package annotations in doc blocks
2011-07-26 01:46:14 -04:30
mark_story
63ea4ef99a
Fixing missing fixture causing test failure.
2011-07-22 20:45:33 -04:00
Juan Basso
a2e7c0febe
Optimization in FormHelper::postLink().
2011-07-18 20:33:45 -04:00
Jose Lorenzo Rodriguez
d5ce09cd96
Restoring the validationErrors property in FormHelper, it will be checked first before the validation errors in the model
2011-07-15 18:24:27 -04:30
Jose Lorenzo Rodriguez
ac2538b108
REmoving call to deprecated method in PHPUnit
2011-07-14 17:28:53 -04:30
Jose Lorenzo Rodriguez
0c79ad88a3
Cleaning up the code and adding tests for new features
2011-07-14 17:26:55 -04:30
Jose Lorenzo Rodriguez
0228611969
Fixing remaining failing tests on FormHelperTest case
2011-07-14 13:56:31 -04:30
Jose Lorenzo Rodriguez
a5851e9597
Updating test to reflect that models passed as a request parameter are now in an associative array
2011-07-14 13:53:27 -04:30
Jose Lorenzo Rodriguez
4ed46cf330
Updating more tests on FormHelperTest case
2011-07-14 13:53:10 -04:30
Jose Lorenzo Rodriguez
9304f3420b
Currently the FormHelper fails if the Model supplied is 'Model', perhaps we need to add a special case for this
2011-07-14 11:05:41 -04:30
Jose Lorenzo Rodriguez
ef5650c034
Fixing ClassRegistry that was incorrectly checking class inheritance
...
Fixing Model class that was incorrectly sending model names to be instantiated
Fixing more FormHelper tests
2011-07-14 01:30:52 -04:30
Jose Lorenzo Rodriguez
1941be6a76
Updating FormHelper tests
2011-07-14 01:03:29 -04:30
Jose Lorenzo Rodriguez
d54e8cd82f
Starting to update tests after removing the validationErrors property in Helper
2011-07-13 23:51:23 -04:30
mark_story
1d0d3f80fb
Fixing Helper::value() when models exist in ClassRegistry
...
and field values are empty.
Fixes #1817
2011-07-06 21:26:07 -04:00
mark_story
c2a96267b2
Merge branch 'form-helper' into 2.0
2011-07-02 12:13:41 -04:00
Majna
71ed244f14
Fix for render element - allow under_scored plugin name. Fixes #1814
2011-07-02 02:17:44 +02:00
mark_story
c9acb6b587
Moving FormHelper specifics into that class.
2011-07-01 07:39:03 -04:00
Mark Story
89258327c6
Moving entity() and its related attributes to Helper
...
Removing entity() and its attributes from View.
Having that information on View allowed for unwanted side effects,
and seemed like a break of encapsulation.
2011-06-25 20:02:34 -04:00
Mark Story
e4d701021e
Fixing failing tests caused by merge with 1.3
2011-06-25 20:00:39 -04:00
Mark Story
4073584eef
Fixing more failing tests.
...
Fixing use of properties that are going away.
2011-06-25 19:31:20 -04:00
Mark Story
87fe66353f
Removing pointless test that was in the middle of an unrelated test.
2011-06-25 19:31:20 -04:00
Mark Story
25870441bc
Fixing '2.name' style fields when creating multiple record forms.
2011-06-25 19:31:20 -04:00
Mark Story
96cc1b98b4
Making a test more specific.
2011-06-25 19:31:19 -04:00
Mark Story
3a847ae28f
Updating more tests for change in Helper setEntity().
2011-06-25 19:31:19 -04:00
Mark Story
8a8336c1b0
Starting to convert Helper::setEntity() and View::entity()
...
to not be nearly as complex and magic. This also
helps reduce coupling between the helpers and Models.
2011-06-25 19:31:19 -04:00
Mark Story
ffe575bb7d
Removing expectation that was not being fulfilled.
2011-06-25 19:30:56 -04:00
Mark Story
68378f2d06
Adding a test for double escaped form urls.
...
Refs #1748
2011-06-23 14:32:53 -07:00