/** * @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()); }
/** * @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()); }