Browse Source

Fix non-conventional aliases that cause problems sometimes.

Mark Story 8 years ago
parent
commit
a9e6402451
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/test_app/TestApp/Model/Table/TagsTable.php

+ 2 - 2
tests/test_app/TestApp/Model/Table/TagsTable.php

@@ -22,8 +22,8 @@ class TagsTable extends Table
 
     public function initialize(array $config)
     {
-        $this->belongsTo('authors');
-        $this->belongsToMany('articles');
+        $this->belongsTo('Authors');
+        $this->belongsToMany('Articles');
         $this->hasMany('ArticlesTags', ['propertyName' => 'extraInfo']);
     }
 }