Skip to content

Commit 26fc2a1

Browse files
committed
Merge branch '3.4' into 4.0
* 3.4: fixed wrong merge Tweak message to be Flex friendly [Routing] fixed tests Fixing wrong class_exists on interface Preserve percent-encoding in URLs when performing redirects in the UrlMatcher [Console] Fix a bug when passing a letter that could be an alias add missing validation options to XSD file Take advantage of AnnotationRegistry::registerUniqueLoader [DI] Optimize Container::get() for perf fix merge Fix tests Refactoring tests.
2 parents b4ccde0 + 4d942c7 commit 26fc2a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/ConstraintViolationListTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,16 +89,16 @@ public function testArrayAccess()
8989
$this->list[] = $violation;
9090

9191
$this->assertSame($violation, $this->list[0]);
92-
$this->assertTrue(isset($this->list[0]));
92+
$this->assertArrayHasKey(0, $this->list);
9393

9494
unset($this->list[0]);
9595

96-
$this->assertFalse(isset($this->list[0]));
96+
$this->assertArrayNotHasKey(0, $this->list);
9797

9898
$this->list[10] = $violation;
9999

100100
$this->assertSame($violation, $this->list[10]);
101-
$this->assertTrue(isset($this->list[10]));
101+
$this->assertArrayHasKey(10, $this->list);
102102
}
103103

104104
public function testToString()

0 commit comments

Comments
 (0)