fixed unit tests and docs

This commit is contained in:
Val Bancer 2017-07-09 19:24:51 +02:00
parent f0bbcb3ffc
commit 794ce22f37
2 changed files with 4 additions and 4 deletions

View file

@ -216,7 +216,7 @@ class TranslateBehavior extends ModelBehavior {
*
* @param Model $Model The model being worked on.
* @param array $query The query array to append joins to.
* @param string $addFields The fields being joined.
* @param array $addFields The fields being joined.
* @return array The modified query
*/
protected function _addAllJoins(Model $Model, $query, $addFields) {

View file

@ -6442,7 +6442,7 @@ class ModelReadTest extends BaseModelTest {
'table' => (object)array(
'tablePrefix' => '',
'table' => 'article_i18n',
'schemaName' => 'test',
'schemaName' => 'cakephp_test',
),
'conditions' => array(
'TranslatedArticle.id' => (object)array(
@ -6460,7 +6460,7 @@ class ModelReadTest extends BaseModelTest {
'table' => (object)array(
'tablePrefix' => '',
'table' => 'article_i18n',
'schemaName' => 'test',
'schemaName' => 'cakephp_test',
),
'conditions' => array(
'TranslatedArticle.id' => (object)array(
@ -6528,7 +6528,7 @@ class ModelReadTest extends BaseModelTest {
'table' => (object)array(
'tablePrefix' => '',
'table' => 'article_i18n',
'schemaName' => 'test',
'schemaName' => 'cakephp_test',
),
'conditions' => array(
'TranslatedArticle.id' => (object)array(