Commit graph

11265 commits

Author SHA1 Message Date
Jose Lorenzo Rodriguez
f645db61fb Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-05-17 12:45:45 -04:30
Jose Lorenzo Rodriguez
12e7347272 Fixing Scaffold tests 2011-05-17 12:44:38 -04:30
AD7six
83e7028ecd fix multibyte test case
put the mb_internal_encoding call in a file which is _always_ loaded
2011-05-17 18:41:35 +02:00
Renan Gonçalves aka renan.saddam
9b9339354a Merge pull request #80 from evilbloodydemon/1.3-fix
Fixed undefined variable
2011-05-17 04:35:19 -07:00
evilbloodydemon
5abd00e636 Fixed undefined variable 2011-05-17 15:29:21 +04:00
AD7six
d3772fc605 Revert "prevent requesting a folder (/css) from showing a dir listing"
This reverts commit 1bdff8f63c.

Disappointinly, it broke my apache test install
2011-05-17 09:37:29 +02:00
AD7six
1bdff8f63c prevent requesting a folder (/css) from showing a dir listing
most likely users do not want this - so just remove it. If it is desired
it's very easy to add back
2011-05-17 09:32:14 +02:00
Thomas Ploch
d8a614e112 Added usage of configured error handler instead of hard coded. Moved try/catch block to where its nessecary. Set Configure::write('Error.trace', false) since its useless with internals. Addition to #1707 . 2011-05-17 08:44:55 +02:00
Jose Lorenzo Rodriguez
1b14887e3a Fixing all helpers tests after massing search and replace that broke parameter order on assertTags() 2011-05-17 00:06:22 -04:30
Jose Lorenzo Rodriguez
217e9e0330 Fixing test in I18n due to case sensitivity problems 2011-05-16 23:58:18 -04:30
Jose Lorenzo Rodriguez
ef663f7d3f Fixing more tests after the massive search and replace 2011-05-16 23:53:30 -04:30
Jose Lorenzo Rodriguez
7ef1a2995a Fixing failing tests due to massive search and replace 2011-05-16 23:45:35 -04:30
mark_story
cd13e37609 Adding tests for previous commit.
Refs #1678
2011-05-16 21:12:28 -04:00
mark_story
2bc58a5abd Added check if Router::getRequest(false) is returning a CakeRequest or null in ExceptionRenderer::_getController(). Fixes 'call to undefined method here()' when having Exceptions raised without valid request set to the Router in testsuite (i.e. undefined database config 'test'). Fixes #1678 .
Conflicts:

	lib/Cake/Error/ExceptionRenderer.php
2011-05-16 21:11:33 -04:00
Thomas Ploch
085c621c0e Added try/catch block into ErrorHandler::handleException() to gracefully show Exceptions raised during exception handling. Fixes #1707 2011-05-16 20:53:38 -04:00
mark_story
6289f20b83 Fixing Router::reverse() serializing all of _Token.
Removing CSRF tokens from the parameters SecurityComponent exports.
Updating tests for both Router and SecurityComponent.
Fixes #1697
2011-05-16 20:35:27 -04:00
AD7six
f2e953d892 Correct bad comparision
I can't be sure the result is correct - but the existing expected result
is identical to the input string. Which cannot be correct

test now passes
2011-05-17 00:54:13 +02:00
AD7six
0a53242e3e correcting all the inverted assertEqual tests
$expected is the first argument. Now certain test results start to make
sense:

	1) MultibyteTest::testUsingMbStrtolower
	Failed asserting that two strings are equal.
	--- Expected
	+++ Actual
	@@ @@
	-ႠႡႢႣႤႥႦႧႨႩႪႫႬႭႮႯႰႱႲႳႴႵႶႷႸႹႺႻႼႽႾႿჀჁჂჃჄჅ
	+ⴀⴁⴂⴃⴄⴅⴆⴇⴈⴉⴊⴋⴌⴍⴎⴏⴐⴑⴒⴓⴔⴕⴖⴗⴘⴙⴚⴛⴜⴝⴞⴟⴠⴡⴢⴣⴤⴥ
2011-05-17 00:49:00 +02:00
AD7six
e24ef781e5 one less scaffold fail.. 2011-05-17 00:31:59 +02:00
Thomas Ploch
bf37054bca Fixed wrong passing of $expected and $results in model task test. 2011-05-17 00:29:58 +02:00
AD7six
48ce54afec case fixes 2011-05-17 00:25:16 +02:00
AD7six
6695994cc2 case fixes 2011-05-17 00:23:58 +02:00
AD7six
e7c8dd1616 $expected is the first arg for assertEqual 2011-05-17 00:23:09 +02:00
AD7six
1e6acec2ab case correction 2011-05-17 00:22:19 +02:00
AD7six
6b77e73c49 $expected is the first arg for assertEqual
having it the wrong way round makes the error messages quite confusing
2011-05-17 00:20:59 +02:00
AD7six
e95d6a3b10 case correction, fixes ExceptionRenderer test 2011-05-17 00:08:51 +02:00
AD7six
d63b4df10c ensure consistent order for loaded function
Fixes the test case
2011-05-17 00:01:20 +02:00
AD7six
20f541108e partial fix for the scaffold test 2011-05-16 23:50:42 +02:00
AD7six
eafc8259e5 case correction 2011-05-16 23:38:28 +02:00
AD7six
40b29855a5 case corrections 2011-05-16 23:36:55 +02:00
AD7six
3fc785d823 fix case for viewPath. 2011-05-16 23:32:59 +02:00
AD7six
183b2ea9fc correct for case fixes the ProjectTask test case 2011-05-16 23:29:59 +02:00
AD7six
245c207096 case fix for SchemaShell test 2011-05-16 23:17:29 +02:00
AD7six
fe2ec74b0e correct paths to Config dir 2011-05-16 21:52:25 +02:00
Renan Gonçalves
f3bd0faa94 Fixing typo on the documentation. Patch by mamchenkov. 2011-05-16 21:14:46 +02:00
Renan Gonçalves aka renan.saddam
8c28df7b9b Merge pull request #78 from mamchenkov/2.0
Documentation typo fix for branch 2.0
2011-05-16 12:11:27 -07:00
Leonid Mamchenkov
574cee7510 Fixed typo in documentation 2011-05-16 21:58:18 +03:00
Graham Weldon
21f35345fa Merge remote-tracking branch 'burzum/2.0' into 2.0 2011-05-17 01:51:42 +10:00
AD7six
7a430a921e Merge branch 'feature/faster-tests' into 2.0 2011-05-16 16:41:12 +02:00
Thomas Ploch
8ef7016545 Fixed wrong validation init in Model bake task when having index starting at 1.
Added guess 'uuid' for type 'string' and length 36.
Updated missing calls to assertEqual() testFieldValidationGuessing().
Added test for uuid guessing.
2011-05-16 15:29:28 +02:00
Andy Dawson
012e452b35 Merge pull request #76 from tPl0ch/2.0-pages-home
Added missing string concatenator to lib/Cake/Views/pages/home.ctp.
2011-05-15 23:45:24 -07:00
Andy Dawson
84622da419 Merge pull request #75 from tPl0ch/2.0-gitignore
Added renamed 'app/Config' to .gitignore.
2011-05-15 23:43:36 -07:00
Thomas Ploch
785c80ba88 Added missing string concatenator to lib/Cake/Views/pages/home.ctp. 2011-05-16 08:41:25 +02:00
Thomas Ploch
d7090146fe Added renamed 'app/Config' to .gitignore. 2011-05-16 08:32:55 +02:00
Jose Lorenzo Rodriguez
4ee4e426f4 Fixing more tests failing in case sensitive systems 2011-05-15 20:38:56 -04:30
Jose Lorenzo Rodriguez
ceb671db42 Fixing viewPath in Dispatcher test case 2011-05-15 20:09:38 -04:30
Jose Lorenzo Rodriguez
11f9a2756a Moving more folders missed in previous commits 2011-05-15 20:01:45 -04:30
Florian Krmer
93a8209b43 Fixing a syntax error in lib/Cake/View/Pages/home.ctp 2011-05-16 00:18:21 +02:00
Florian Krmer
8aa3159037 Fixing Fatal error: Class 'CakePlugin' not found in \lib\Cake\I18n\I18n.php on line 267 2011-05-15 23:53:55 +02:00
AD7six
805cc944da correct for case sensitivity 2011-05-15 19:41:34 +02:00