cakephp2-php8/lib/Cake/Test/Case/Model
mark_story c548b6b88a Fix issue with find(count) and translated conditions.
Because count queries did not have joins created for the translated
fields pagination would generate invalid queries. Checking the conditions
for translated fields and adding in the correct joins solves that.
Extract what would have been duplicated code into methods.

Add a few protected properties to keep method signatures sane. The code
could be even simpler if the existing find(count) join was removed.

Fixes #2349
2012-01-08 20:40:25 -05:00
..
Behavior Fix issue with find(count) and translated conditions. 2012-01-08 20:40:25 -05:00
Datasource Removing test that does not relate anymore to SqlServer datasource 2012-01-07 02:17:27 -04:30
BehaviorCollectionTest.php Fix illegal offset caused by TranslateBehavior. 2012-01-07 11:58:35 -05:00
CakeSchemaTest.php Code consistency formatting tweaks 2011-12-06 12:52:48 -08:00
ConnectionManagerTest.php Indentation fix (tab instead of spaces) 2011-12-20 22:26:43 -05:00
DbAclTest.php Code standards formatting 2011-12-15 22:52:07 -08:00
ModelDeleteTest.php Indentation fix (tab instead of spaces) 2011-12-20 22:26:43 -05:00
ModelIntegrationTest.php Fix failing test. 2012-01-07 20:24:33 -05:00
ModelReadTest.php Indentation fix (tab instead of spaces) 2011-12-20 22:26:43 -05:00
models.php More code standards formatting 2011-12-15 23:00:07 -08:00
ModelTestBase.php Code consistency formatting tweaks 2011-12-06 12:52:48 -08:00
ModelValidationTest.php Replacing test case compatibility functions 2011-11-16 21:07:08 -05:00
ModelWriteTest.php Fix failing test in PHP5.4 2011-12-27 19:40:51 -05:00