Skip to content

Commit 84ef416

Browse files
committed
Release 1.1.0
1 parent 076c728 commit 84ef416

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Yii LinkMany Change Log
22
=======================
33

4-
1.0.2 Under development
5-
-----------------------
4+
1.1.0 Jan 18, 2022
5+
------------------
66

77
- Show validation index error
88

tests/LinkManyBehaviorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,8 @@ public function testValidate()
226226
$post->validate();
227227

228228
$errors = $post->getErrors();
229-
$this->assertArrayHasKey('comments', $errors);
230-
$this->assertCount(2, $errors['comments']);
229+
$this->assertArrayHasKey('comments[0]', $errors);
230+
$this->assertArrayHasKey('comments[1]', $errors);
231231
}
232232

233233
public function testValidateErrorIndex()

0 commit comments

Comments
 (0)