mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
Make Crawler::extract get an array
This commit is contained in:
parent
9870785d59
commit
093003d9af
2 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ class ManageControllerTest extends WallabagCoreTestCase
|
|||
$client = $this->getTestClient();
|
||||
|
||||
$crawler = $client->request('GET', '/users/' . $this->getLoggedInUserId() . '/edit');
|
||||
$disabled = $crawler->selectButton('user.form.delete')->extract('disabled');
|
||||
$disabled = $crawler->selectButton('user.form.delete')->extract(['disabled']);
|
||||
|
||||
$this->assertSame('disabled', $disabled[0]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue