Skip to content

Commit

Permalink
Release 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
leandrogehlen committed Jan 18, 2022
1 parent 076c728 commit 84ef416
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Yii LinkMany Change Log
=======================

1.0.2 Under development
-----------------------
1.1.0 Jan 18, 2022
------------------

- Show validation index error

Expand Down
4 changes: 2 additions & 2 deletions tests/LinkManyBehaviorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ public function testValidate()
$post->validate();

$errors = $post->getErrors();
$this->assertArrayHasKey('comments', $errors);
$this->assertCount(2, $errors['comments']);
$this->assertArrayHasKey('comments[0]', $errors);
$this->assertArrayHasKey('comments[1]', $errors);
}

public function testValidateErrorIndex()
Expand Down

0 comments on commit 84ef416

Please sign in to comment.