Commit graph

83 commits

Author SHA1 Message Date
ADmad
b6588066c8 Fixing test cases 2011-05-29 02:38:22 +05:30
Ceeram
005c690d94 Fixing incorrect filename for FormAuthenticateTest 2011-05-26 21:44:45 +02:00
Ceeram
266058e67a Moving the sort to also sort plugin objects, sorting in test removed 2011-05-26 19:33:36 +02:00
Ceeram
964ff45a41 Fixing assumptions parameter order 2011-05-26 16:54:31 +02:00
Ceeram
5f97292648 Change case of Controller::$plugin, fixing missing plugin exceptions, tests updated. Also removing no longer needed camelize() calls 2011-05-26 15:31:40 +02:00
Renan Gonçalves
3f72c92226 Removing the unset(->db); since it trigger errors by the Fixture Manager when it tries to drop the created tables. 2011-05-24 19:56:45 +02:00
Renan Gonçalves
2ca849a068 Tests no longer have access to ->_fixtures, refactoring it to use Fixture Manager instead. 2011-05-24 19:56:04 +02:00
Renan Gonçalves
33d00380ed Fixing cross database tests by making sure the fixture was created for the right database. 2011-05-24 19:32:38 +02:00
Renan Gonçalves
423fa8127e Skipping Oracle tests if not using Oracle configuration. 2011-05-24 18:45:10 +02:00
Renan Gonçalves
a6ed66892e Including SqlServer and Oracle tests to the AllDatabase tests. 2011-05-24 18:41:51 +02:00
Ceeram
aac8f6880f load the TestPlugin to avoid missing plugin exception in testInitialize() 2011-05-24 17:10:00 +02:00
Ceeram
76b3f5a21c removing unneeded App::build() calls in the tests, tearDown() already does this, also always build with App::RESET 2011-05-24 17:01:21 +02:00
Ceeram
14b065e229 changing AppImportTest classname to AppTest 2011-05-24 09:05:23 +02:00
Juan Basso
2ea5be5de2 Merge branch '2.0-mssql' into 2.0 2011-05-24 00:07:56 -04:00
Juan Basso
02d4188a29 Skipping tests that is not compatible with SQL Server. 2011-05-23 23:16:13 -04:00
Juan Basso
0ae9974b3f Updating the test to be compatible with others dbo drivers. 2011-05-23 00:31:21 -04:00
Juan Basso
39320ef352 Renamed the Mssql driver to Sqlserver. 2011-05-22 23:19:13 -04:00
Juan Basso
846634d729 Changed the test to be compatible with all tests. 2011-05-22 22:50:29 -04:00
Jose Lorenzo Rodriguez
8d52907be7 Merge remote-tracking branch 'origin/2.0' into 2.0 2011-05-22 21:55:07 -04:30
Juan Basso
76831863e3 Skipping tests that is not compatible with SQL Server. 2011-05-22 22:21:01 -04:00
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
Juan Basso
195653bdfc Updated the Mssql tests with fixes of insertMulti. 2011-05-22 01:11:57 -04:00
Juan Basso
82e2d9e271 Updating model tests to support Mssql driver. 2011-05-22 00:59:15 -04:00
Juan Basso
11d249e43b Updating PHPDoc and method visibility. 2011-05-21 22:18:57 -04:00
Juan Basso
3e4cd4fdbb Removed the simulate flag that is not used. 2011-05-21 22:10:05 -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
Renan Gonçalves
c602fc845b Reverting the change to insertMulti, worked to solve the cache issue when trying to get the model schema. 2011-05-18 20:59:17 +02:00
Renan Gonçalves
37b9bd59bc Trying to fix the Mssql as much as possible.
Adding  parameter to the insertMulti() method because Mssql tries to get the table schema and it fails most of the time.
2011-05-18 20:12:36 +02:00
Renan Gonçalves
d1a984cde9 Resolving merge conflict. 2011-05-18 19:58:12 +02: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