Fix various regressions introduced by camel case conversion
[MAILPOET-2635]
This commit is contained in:
committed by
Jack Kitterhing
parent
d955a9105a
commit
2ef41b56e0
@ -126,7 +126,7 @@ class ViewInBrowserTest extends \MailPoetTest {
|
||||
|
||||
public function testItFailsValidationWhenPreviewIsEnabledButNewsletterHashNotProvided() {
|
||||
$data = (object)$this->browserPreviewData;
|
||||
$data->newsletterHash = false;
|
||||
$data->newsletter_hash = false; // phpcs:ignore Squiz.NamingConventions.ValidVariableName.NotCamelCaps
|
||||
$data->preview = true;
|
||||
expect($this->viewInBrowser->_validateBrowserPreviewData($data))->false();
|
||||
}
|
||||
|
Reference in New Issue
Block a user