Commit graph

62 commits

Author SHA1 Message Date
Jose Lorenzo Rodriguez
8d52907be7 Merge remote-tracking branch 'origin/2.0' into 2.0 2011-05-22 21:55:07 -04:30
Jose Lorenzo Rodriguez
5b8865a3a7 Making plugin routes load after app routes, closes #1722 2011-05-22 21:50:56 -04:30
mark_story
87bccdafe6 Updating PluginTask to filter out paths that don't exist, and not offer
them as options for baking plugins into.  Fixes #1723
2011-05-22 22:04:08 -04:00
mark_story
1d687214e9 Fixing ViewTask so it creates properly cased directories for 2.0.
Fixes #1725
2011-05-22 14:42:43 -04:00
mark_story
2b20eb8999 Fixing issues with ProjectTask and absolute paths.
Fixes #1720
2011-05-22 08:49:51 -04:00
mark_story
42b93dc29f Adding assert left out of previos commit. 2011-05-21 20:21:15 -04:00
mark_story
438734c202 Improving code coverage in Configure. 2011-05-21 15:49:28 -04:00
Jose Lorenzo Rodriguez
85c505fd4f Fixing recently broken tests 2011-05-19 21:35:51 -04:30
Jose Lorenzo Rodriguez
38ad1bfc62 Revert "Update App::objects() cache after App::build()."
This reverts commit f9b02dde44.
2011-05-19 21:31:02 -04:30
Heath Nail
f9b02dde44 Update App::objects() cache after App::build().
Prevents console from crashing because it would try to load test plugins
(from object cache) that it didn't know how to find.
2011-05-19 16:55:01 -04:00
Heath Nail
4ccf5c0885 Clear application plugins before running the first test. 2011-05-19 16:26:49 -04:00
Heath Nail
a7ec73b523 Update the object cache.
Keep application plugins out of core tests, otherwise tests will fail.
2011-05-19 16:25:25 -04:00
AD7six
6e29bb4d94 fix ModelIntegrationTest part 1 2011-05-17 21:48:16 +02:00
Jose Lorenzo Rodriguez
12e7347272 Fixing Scaffold tests 2011-05-17 12:44:38 -04:30
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
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
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
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
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
245c207096 case fix for SchemaShell test 2011-05-16 23:17:29 +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
AD7six
805cc944da correct for case sensitivity 2011-05-15 19:41:34 +02:00
AD7six
3175de7b3d remove another oversight 2011-05-15 18:53:53 +02:00
AD7six
8e27cf992f correct a few missing constant replacements 2011-05-15 18:49:38 +02:00
AD7six
8f071e297c remove CAKE_TESTS constant 2011-05-15 18:37:45 +02:00
AD7six
0cb70ae3bb remove CONFIGS constant 2011-05-15 18:34:52 +02:00
AD7six
afa8f6b441 remove LIBS constant
libs always means the Cake lib - so use the CAKE constant
2011-05-15 18:29:52 +02:00
AD7six
998cba0759 remove CONSOLE_LIBS constnat 2011-05-15 17:36:39 +02:00
AD7six
bd0a303c09 Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2011-05-15 11:28:47 +02:00
Jose Lorenzo Rodriguez
29298d746e Fixing App tests 2011-05-15 00:56:33 -04:30
Jose Lorenzo Rodriguez
a6fb16beef Moving tests cases to their new location 2011-05-15 00:42:10 -04:30
Jose Lorenzo Rodriguez
91bce16e9d Merge remote-tracking branch 'origin/2.0' into 2.0-merge
Conflicts:
	lib/Cake/Test/Case/Console/Command/Task/TemplateTaskTest.php
	lib/Cake/Test/Case/Controller/Component/Auth/FormAuthenticate.php
	lib/Cake/Test/Case/Log/Engine/FileLog.php
	lib/Cake/Test/test_app/Plugin/TestPlugin/View/Helper/plugged_helper.php
	lib/Cake/Test/test_app/Plugin/TestPlugin/View/Helper/test_plugin_app.php
	lib/Cake/tests/Case/Controller/Component/Auth/FormAuthenticate.php
	lib/Cake/tests/Case/Controller/Component/Auth/FormAuthenticateTest.php
	lib/Cake/tests/Case/Log/Engine/FileLog.php
	lib/Cake/tests/Case/Log/Engine/FileLogTest.php
	lib/Cake/tests/test_app/plugins/test_plugin/View/Helper/PluggedHelper.php
	lib/Cake/tests/test_app/plugins/test_plugin/View/Helper/TestPluginAppHelper.php
	lib/Cake/tests/test_app/plugins/test_plugin/View/Helper/plugged_helper.php
	lib/Cake/tests/test_app/plugins/test_plugin/View/Helper/test_plugin_app.php
2011-05-15 00:40:54 -04:30
Jose Lorenzo Rodriguez
082a5e1607 Fixing ControllerTestCase test 2011-05-15 00:26:23 -04:30
Jose Lorenzo Rodriguez
cee46f5ee3 Fixing debug tests 2011-05-15 00:22:39 -04:30
Jose Lorenzo Rodriguez
5e635c74e2 Fixing components tests 2011-05-15 00:16:42 -04:30
Jose Lorenzo Rodriguez
e09f825f8b Fixing controller tests 2011-05-15 00:14:41 -04:30