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.
2 parents 5a26b97 + 056dcc6 commit 2ade7afCopy full SHA for 2ade7af
Tests/ConstraintViolationListTest.php
@@ -89,16 +89,16 @@ public function testArrayAccess()
89
$this->list[] = $violation;
90
91
$this->assertSame($violation, $this->list[0]);
92
- $this->assertTrue(isset($this->list[0]));
+ $this->assertArrayHasKey(0, $this->list);
93
94
unset($this->list[0]);
95
96
- $this->assertFalse(isset($this->list[0]));
+ $this->assertArrayNotHasKey(0, $this->list);
97
98
$this->list[10] = $violation;
99
100
$this->assertSame($violation, $this->list[10]);
101
- $this->assertTrue(isset($this->list[10]));
+ $this->assertArrayHasKey(10, $this->list);
102
}
103
104
public function testToString()
0 commit comments