Browse Source

Typo, no strategies where being used.

Ber Clausen 12 years ago
parent
commit
ef05a49682
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/TestCase/ORM/QueryTest.php

+ 1 - 1
tests/TestCase/ORM/QueryTest.php

@@ -298,7 +298,7 @@ class QueryTest extends TestCase {
 		$article = TableRegistry::get('articles');
 		$table->hasMany('articles', [
 			'property' => 'articles',
-			'stratgey' => $strategy,
+			'strategy' => $strategy,
 			'sort' => ['articles.id' => 'asc']
 		]);
 		$article->belongsTo('authors');