Skip to content

Commit

Permalink
fixed unit tests and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bancer committed Jul 9, 2017
1 parent f0bbcb3 commit 794ce22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/Cake/Model/Behavior/TranslateBehavior.php
Expand Up @@ -216,7 +216,7 @@ protected function _getFields(Model $Model, $query) {
*
* @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) {
Expand Down
6 changes: 3 additions & 3 deletions lib/Cake/Test/Case/Model/ModelReadTest.php
Expand Up @@ -6442,7 +6442,7 @@ public function testBuildQueryAllI18nConditions() {
'table' => (object)array(
'tablePrefix' => '',
'table' => 'article_i18n',
'schemaName' => 'test',
'schemaName' => 'cakephp_test',
),
'conditions' => array(
'TranslatedArticle.id' => (object)array(
Expand All @@ -6460,7 +6460,7 @@ public function testBuildQueryAllI18nConditions() {
'table' => (object)array(
'tablePrefix' => '',
'table' => 'article_i18n',
'schemaName' => 'test',
'schemaName' => 'cakephp_test',
),
'conditions' => array(
'TranslatedArticle.id' => (object)array(
Expand Down Expand Up @@ -6528,7 +6528,7 @@ public function testBuildQueryCountI18nConditions() {
'table' => (object)array(
'tablePrefix' => '',
'table' => 'article_i18n',
'schemaName' => 'test',
'schemaName' => 'cakephp_test',
),
'conditions' => array(
'TranslatedArticle.id' => (object)array(
Expand Down

0 comments on commit 794ce22

Please sign in to comment.