We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 076c728 commit 84ef416Copy full SHA for 84ef416
CHANGELOG.md
@@ -1,8 +1,8 @@
1
Yii LinkMany Change Log
2
=======================
3
4
-1.0.2 Under development
5
------------------------
+1.1.0 Jan 18, 2022
+------------------
6
7
- Show validation index error
8
tests/LinkManyBehaviorTest.php
@@ -226,8 +226,8 @@ public function testValidate()
226
$post->validate();
227
228
$errors = $post->getErrors();
229
- $this->assertArrayHasKey('comments', $errors);
230
- $this->assertCount(2, $errors['comments']);
+ $this->assertArrayHasKey('comments[0]', $errors);
+ $this->assertArrayHasKey('comments[1]', $errors);
231
}
232
233
public function testValidateErrorIndex()
0 commit comments