AD7six
56ce3c0f1c
adding debug function to acl test case to aide checking permissions whilst writing/debugging tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6910 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-17 17:33:08 +00:00
mariano.iglesias
05047a90b0
Making Model::resetAssociations public and changing tests that use it
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6909 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-17 16:23:46 +00:00
gwoo
bc6a8e03b5
fixes #4671 , skip DboOracle tests when driver is not set. Clean up other dbo tests to be consistent
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6908 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-17 13:59:29 +00:00
phpnut
10d555d5e2
"Adding additional tests for I18n class.
...
Removed unused code from the class.
Fixed use of invalid translations in a po file"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6907 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-17 06:05:08 +00:00
mark_story
926b88a53a
Updated dispatcher test for case described in #4660
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6906 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-17 03:52:08 +00:00
phpnut
638b06ff85
"Adding test coverage for I18n class.
...
Adding ability to change translations on the fly
Example: Configure::write('Config.language', 'locale');
Same setting can be used to define you own locale
Example: Configure::write('Config.language', 'somename');
Added ability to set additional directory paths for locale directory
Example: Configure::write('Locale.path', DS . 'directory'. DS . 'locale');
Fixed merging of core translations, if present."
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6905 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-17 00:48:34 +00:00
gwoo
8124d166ff
updating auth url for login actions
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6904 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-16 18:17:04 +00:00
phishy
6c44d00642
Fixed #4206 - lastError now works
...
Fixed #4181 - model sequence name now respected
added constraint() method to enable/disable
added truncate() to aid in test suite integration
hacked name() to work with ACL
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6903 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-16 15:42:13 +00:00
phishy
518f26a269
added test case for DboOracle and two regression tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6902 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-16 15:23:30 +00:00
gwoo
8a236492a0
adding Object::stop(), updating auth and auth.test to use
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6901 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-16 15:23:00 +00:00
joelmoss
3d251e4145
Replacing vendor() function with App::import()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6900 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-16 08:41:39 +00:00
DarkAngelBGE
e42076b9c2
adding CLI exit code to testsuite shell
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6899 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-16 08:00:46 +00:00
nate
d9a7170808
Adding validation message fixes for Model::saveAll() and hasOne associations, fixes #4561
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6898 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-16 06:03:33 +00:00
nate
0f1e075d68
Adding fix for Model::saveAll() with 'validate' => 'first' and hasMany records, fixes #4387 , adding test cases to disprove #4494
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6897 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-16 05:31:14 +00:00
mark_story
5893fd3669
Added additional test using ajaxLogin with Dispatcher. Currently fails.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6896 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-16 01:33:53 +00:00
gwoo
84739652c8
adding fix for windows paths in view, thanks renan`saddam for reporting and debugging
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6895 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 23:57:24 +00:00
TommyO
de086b1be3
Minor code cleanup, removing remnants from an older version that no longer apply
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6894 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 20:17:58 +00:00
gwoo
1623fa89f8
updating auth, fixes #4417 ajaxLogin rendering
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6893 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 19:20:13 +00:00
gwoo
3b524b70d5
removing icons from test suite
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6892 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 18:18:46 +00:00
phpnut
0cc0580fff
"Fixing code CodeCoverageManager so code coverage can be tested when cake core is outside of the ROOT path or set in the php.ini
...
Cleaned up code structure."
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6891 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 17:27:57 +00:00
gwoo
17379fff80
fixes #4495 . updating cake.php and cake.test.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6890 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 15:40:35 +00:00
TommyO
52037d15e4
Allow afterSave() callbacks to modify value of a data field, as per ticket #2465\nNecessary tests included
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6889 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 15:37:55 +00:00
the_undefined
ab0a607189
Refactored Set::reverse and tweaked the expectation schema for consistency, fixes #4643
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6888 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 14:48:49 +00:00
nate
68234dd529
Adding tests for HABTM unique key, disproves #3859
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6887 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 07:08:16 +00:00
the_undefined
bf107d1886
Fixed admin routing redirect in AuthComponent
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6886 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 07:06:22 +00:00
nate
6614bc96ab
Adding tests for tinyint(1) -> boolean typecasting in DboMysql, closes #4568
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6885 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 06:42:31 +00:00
phpnut
ffd272901c
"Setting missing props"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6884 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 06:00:12 +00:00
phpnut
896de31580
Fixing svn props on files.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6883 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 05:26:40 +00:00
nate
9d3f601bbc
Adding tests for Model::updateAll() using field calculations, disproves #4052 , refactoring tests to work on Postgres
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6882 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 05:17:23 +00:00
the_undefined
fa0325b68f
Added Node / Dependency Fixture
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6881 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 05:14:36 +00:00
phpnut
9d9d69d194
Fixing svn props on files.
...
Renamed sessionHelper.ctp
Fixed test case with proper layout name
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6880 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 05:13:44 +00:00
TommyO
fc6934e988
Added additional callbacks to behavior and tests to match.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6879 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 04:53:56 +00:00
the_undefined
52245a059f
Closes #4156
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6878 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 04:00:21 +00:00
the_undefined
ea9e91218e
Fixing bug in Model::saveField, closes #4511
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6877 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 03:16:36 +00:00
the_undefined
d039ad32d4
Allowed for matching empty elements
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6875 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 02:21:51 +00:00
the_undefined
673e0e6e6f
Fixed expectation for non-transactional databases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6874 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 02:05:05 +00:00
mark_story
8e9951f32a
Added tests for dump() and additional tests for output();
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6873 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 01:59:56 +00:00
mark_story
a8728246db
Updated the expectations of the two failing tests. Both pass now. Fixes #4600
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6872 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 00:56:08 +00:00
nate
b489bb1470
Cleaning up PagesController, fixes #4640
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6871 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-14 21:34:26 +00:00
gwoo
18b627636b
updating cake.test.php, fixes #4638 . updating cake.php, fixes #4648 (with tests), updated Cache
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6870 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-14 19:43:55 +00:00
the_undefined
72c37d429e
Improved String::insert by support placeholders with after sequence during cleanup
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6869 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-14 16:31:44 +00:00
the_undefined
7308c3e5d4
Fixed bug in String::insert
...
Refactored and improved String::insert cleaning process
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6868 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-14 15:35:36 +00:00
TommyO
830f9ec3f8
Fixed test path to expand softlinks to match xDebug behavior.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6867 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-14 15:00:28 +00:00
mark_story
05b3193c54
Added primary keys to Acl fixtures fixes #4634 where tests were failing on InnoDB tables
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6866 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-14 12:18:21 +00:00
mark_story
fcfd9be4bb
Cleaned out unecessary code in error.test.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6865 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-14 02:28:01 +00:00
mark_story
6f4c58377c
Updated Code Coverage (100%)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6864 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-14 02:24:58 +00:00
chartjes
d7817abf29
Added test case for ticket 4495, where when running "cake bake" on windows will result in the proper app directory being written to disk. Test currently fails when comparing root dir created by bake to the ROOT constant
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6863 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-14 01:10:24 +00:00
joelmoss
09ebd9cbe6
Paginator Helper prev and next methods now use the Html::tag helper method, allowing you to pass a tag option to specify what HTML tag the disabled links should be wrapped in. Defaults to div. Fixes #3991
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6862 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 23:35:47 +00:00
the_undefined
dd7aa25a20
Made custom save $options available throughout all filters and callbacks
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6861 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 23:34:59 +00:00
gwoo
b6a085b90e
updating console/cake.test.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6860 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 23:13:31 +00:00