Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dc43d89

Browse files
committed
remove unneded elements
1 parent e58e741 commit dc43d89

2 files changed

Lines changed: 0 additions & 13 deletions

File tree

src/Sylius/Behat/Client/ApiSecurityClientInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313

1414
namespace Sylius\Behat\Client;
1515

16-
use Symfony\Component\HttpFoundation\Response;
17-
1816
interface ApiSecurityClientInterface
1917
{
2018
public function prepareLoginRequest(): void;

src/Sylius/Behat/Context/Api/Shop/LoginContext.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -175,17 +175,6 @@ public function iShouldBeNotifiedThatEmailWithResetInstructionWasSent(): void
175175
Assert::same($response->getStatusCode(), 202);
176176
}
177177

178-
/**
179-
* @Then I should be notified that the :elementName is required
180-
*/
181-
public function iShouldBeNotifiedThatFirstNameIsRequired(string $elementName): void
182-
{
183-
Assert::contains(
184-
$this->responseChecker->getError($this->apiClient->getLastResponse()),
185-
sprintf('Please enter your %s.', $elementName)
186-
);
187-
}
188-
189178
private function addLocaleCode(string $localeCode): void
190179
{
191180
$this->request->updateContent(['localeCode' => $localeCode]);

0 commit comments

Comments
 (0)