Skip to content
Permalink
Browse files

Fix spelling/typos.

  • Loading branch information...
ndm2 authored and markstory committed Sep 5, 2016
1 parent f332556 commit fb1fa2e4ae5c1f32022e2710f7d23e18bc04434c
Showing with 6 additions and 6 deletions.
  1. +6 −6 tests/TestCase/ORM/TableTest.php
@@ -2124,9 +2124,9 @@ public function testHasManyNonCascadingUnlinkDeleteUsesAssociationConditions()
$this->assertNotEmpty($article);
// Given the association condition of `'Comments.published' => 'Y'`,
// it is expected that only one the three linked comments are actually
// being deleted, as only one of them matches the association
// conditions.
// it is expected that only one of the three linked comments are
// actually being deleted, as only one of them matches the
// association condition.
$this->assertEquals(2, $Comments->target()->find()->where(['Comments.article_id' => $article->get('id')])->count());
}
@@ -2186,9 +2186,9 @@ public function testHasManyNonDependentNonCascadingUnlinkUpdateUsesAssociationCo
$this->assertNotEmpty($author);
// Given the association condition of `'Articles.published' => 'Y'`,
// it is expected that only one the three linked articles are actually
// being unlinked (nulled), as only one of them matches the association
// conditions.
// it is expected that only one of the three linked articles are
// actually being unlinked (nulled), as only one of them matches the
// association condition.
$this->assertEquals(2, $Articles->target()->find()->where(['Articles.author_id' => $author->get('id')])->count());
$this->assertNull($Articles->get($article2->get('id'))->get('author_id'));
$this->assertEquals($author->get('id'), $Articles->get($article3->get('id'))->get('author_id'));

0 comments on commit fb1fa2e

Please sign in to comment.
You can’t perform that action at this time.