Permalink
Browse files

Adding test for EntityContext::isPrimaryKey

  • Loading branch information...
1 parent 80fc349 commit 474abfdfc0b0a2e75ecfbd6ae6c94ebab165035a @lorenzo lorenzo committed Feb 28, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/TestCase/View/Form/EntityContextTest.php
@@ -83,7 +83,7 @@ public function testIsPrimaryKey() {
$this->assertTrue($context->isPrimaryKey('comments.0.id'));
$this->assertTrue($context->isPrimaryKey('1.comments.0.id'));
$this->assertFalse($context->isPrimaryKey('1.comments.0.comment'));
- $this->assertFalse($context->isPrimaryKey('1.comments.0.comment'));
+ $this->assertFalse($context->isPrimaryKey('Articles.1.comments.0.comment'));
}
/**

0 comments on commit 474abfd

Please sign in to comment.