getValidationMessageForImage() public method

 /**
  * @Then I should be notified that the image with this code already exists
  */
 public function iShouldBeNotifiedThatTheImageWithThisCodeAlreadyExists()
 {
     Assert::same($this->updatePage->getValidationMessageForImage('code'), 'Image code must be unique within this taxon.');
 }
Esempio n. 2
0
 /**
  * @Then I should be notified that an image code is required
  */
 public function iShouldBeNotifiedThatAnImageCodeIsRequired()
 {
     Assert::same($this->updatePage->getValidationMessageForImage(), 'Please enter an image code.');
 }