File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313
1414namespace Sylius \Behat \Client ;
1515
16- use Symfony \Component \HttpFoundation \Response ;
17-
1816interface ApiSecurityClientInterface
1917{
2018 public function prepareLoginRequest (): void ;
Original file line number Diff line number Diff 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 ]);
You can’t perform that action at this time.
0 commit comments