Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding test for EntityContext::isPrimaryKey

  • Loading branch information...
commit 474abfdfc0b0a2e75ecfbd6ae6c94ebab165035a 1 parent 80fc349
@lorenzo lorenzo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/TestCase/View/Form/EntityContextTest.php
View
2  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'));
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.