Skip to content

Commit 1c7c46e

Browse files
committed
[FrameworkBundle] Fix BrowserKit assertions to make them compatible with Panther
1 parent 473d2f8 commit 1c7c46e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Test/Constraint/CrawlerSelectorAttributeValueSame.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ protected function matches($crawler): bool
4747
return false;
4848
}
4949

50-
return $this->expectedText === trim($crawler->getNode(0)->getAttribute($this->attribute));
50+
return $this->expectedText === trim($crawler->attr($this->attribute));
5151
}
5252

5353
/**

0 commit comments

Comments
 (0)