mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-05 20:57:12 +00:00
Cast id to string, as select option from mink expects string
This commit is contained in:
parent
e28cb3dad2
commit
6b81a449bc
1 changed files with 2 additions and 2 deletions
|
|
@ -249,14 +249,14 @@ class AddressPage extends ShopPage implements AddressPageInterface
|
|||
|
||||
public function selectShippingAddressFromAddressBook(AddressInterface $address): void
|
||||
{
|
||||
$this->getElement('shipping_address_book')->selectOption($address->getId());
|
||||
$this->getElement('shipping_address_book')->selectOption((string) $address->getId());
|
||||
|
||||
$this->waitForElementUpdate('form');
|
||||
}
|
||||
|
||||
public function selectBillingAddressFromAddressBook(AddressInterface $address): void
|
||||
{
|
||||
$this->getElement('billing_address_book')->selectOption($address->getId());
|
||||
$this->getElement('billing_address_book')->selectOption((string) $address->getId());
|
||||
|
||||
$this->waitForElementUpdate('form');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue