@@ -12,6 +12,7 @@ |
||
| 12 | 12 | * Set context parameters from behat.yml. |
| 13 | 13 | * |
| 14 | 14 | * @param array $parameters |
| 15 | + * @return void |
|
| 15 | 16 | */ |
| 16 | 17 | public function setTqParameters(array $parameters); |
| 17 | 18 | |
@@ -5,18 +5,18 @@ |
||
| 5 | 5 | namespace Drupal\TqExtension\Context\Form; |
| 6 | 6 | |
| 7 | 7 | // Exceptions. |
| 8 | -use Symfony\Component\Filesystem\Exception\FileNotFoundException; |
|
| 9 | 8 | use Behat\Mink\Exception\ElementNotFoundException; |
| 9 | +use Symfony\Component\Filesystem\Exception\FileNotFoundException; |
|
| 10 | 10 | use WebDriver\Exception\NoSuchElement; |
| 11 | 11 | // Helpers. |
| 12 | 12 | use Behat\Gherkin\Node\TableNode; |
| 13 | -use WebDriver\Service\CurlService; |
|
| 14 | 13 | use Behat\Mink\Element\NodeElement; |
| 14 | +use WebDriver\Service\CurlService; |
|
| 15 | 15 | // Utils. |
| 16 | +use Drupal\TqExtension\Cores\DrupalKernelPlaceholder; |
|
| 16 | 17 | use Drupal\TqExtension\Utils\DatePicker\DatePicker; |
| 17 | -use Drupal\TqExtension\Utils\FormValueAssertion; |
|
| 18 | 18 | use Drupal\TqExtension\Utils\EntityDrupalWrapper; |
| 19 | -use Drupal\TqExtension\Cores\DrupalKernelPlaceholder; |
|
| 19 | +use Drupal\TqExtension\Utils\FormValueAssertion; |
|
| 20 | 20 | |
| 21 | 21 | class FormContext extends RawFormContext |
| 22 | 22 | { |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | * @param string $value |
| 39 | 39 | * Expected value in column. |
| 40 | 40 | * |
| 41 | - * @return int |
|
| 41 | + * @return string |
|
| 42 | 42 | */ |
| 43 | 43 | public function getIdByArguments($column, $value) |
| 44 | 44 | { |
@@ -7,10 +7,10 @@ |
||
| 7 | 7 | // Contexts. |
| 8 | 8 | use Drupal\TqExtension\Context\RawTqContext; |
| 9 | 9 | // Utils. |
| 10 | +use Drupal\TqExtension\Cores\DrupalKernelPlaceholder; |
|
| 10 | 11 | use Drupal\TqExtension\Utils\BaseEntity; |
| 11 | -use Drupal\TqExtension\Utils\EntityDrupalWrapper; |
|
| 12 | 12 | use Drupal\TqExtension\Utils\Database\FetchField; |
| 13 | -use Drupal\TqExtension\Cores\DrupalKernelPlaceholder; |
|
| 13 | +use Drupal\TqExtension\Utils\EntityDrupalWrapper; |
|
| 14 | 14 | |
| 15 | 15 | class RawUserContext extends RawTqContext |
| 16 | 16 | { |