Esempio n. 1
0
 /**
  * @Then /^(that channel) should use (that theme)$/
  */
 public function channelShouldUseTheme(ChannelInterface $channel, ThemeInterface $theme)
 {
     $this->channelIndexPage->open();
     Assert::same($this->channelIndexPage->getUsedThemeName($channel->getCode()), $theme->getName());
 }
Esempio n. 2
0
 /**
  * @Then /^(that channel) should use (that theme)$/
  */
 public function channelShouldUseTheme(ChannelInterface $channel, ThemeInterface $theme)
 {
     $this->channelIndexPage->open();
     expect($this->channelIndexPage->getUsedThemeName($channel->getCode()))->toBe($theme->getName());
 }