diff --git a/tests/javascript/newsletter_editor/blocks/automatedLatestContent.spec.js b/tests/javascript/newsletter_editor/blocks/automatedLatestContent.spec.js index bbea9d7b47..0de37e2f1b 100644 --- a/tests/javascript/newsletter_editor/blocks/automatedLatestContent.spec.js +++ b/tests/javascript/newsletter_editor/blocks/automatedLatestContent.spec.js @@ -137,7 +137,7 @@ define([ }); it('has text preceding categories', function () { - expect(model.get('categoriesPrecededBy')).to.be.a('string'); + expect(model.get('categoriesPrecededBy')).to.be.a('boolean'); }); it('has a link or a button type for read more', function () { diff --git a/tests/unit/API/SetupTest.php b/tests/unit/API/SetupTest.php index ead074e4da..0f4a9e6092 100644 --- a/tests/unit/API/SetupTest.php +++ b/tests/unit/API/SetupTest.php @@ -14,7 +14,7 @@ class SetupTest extends MailPoetTest { expect($response->status)->equals(APIResponse::STATUS_OK); $signup_confirmation = Setting::getValue('signup_confirmation.enabled'); - expect($signup_confirmation)->false(); + expect($signup_confirmation)->true(); } function _after() {