Skip to content

Commit ab46cfd

Browse files
committed
ISSUE-345: test fix
1 parent df585fc commit ab46cfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Integration/Subscription/Controller/SubscriberControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public function testPostSubscribersWithValidSessionKeyAssignsProvidedSubscriberD
149149
$email = '[email protected]';
150150
$jsonData = [
151151
'email' => $email,
152-
'requestConfirmation' => true,
152+
'requestConfirmation' => false,
153153
'blacklisted' => true,
154154
'htmlEmail' => true,
155155
'disabled' => true,
@@ -160,7 +160,7 @@ public function testPostSubscribersWithValidSessionKeyAssignsProvidedSubscriberD
160160
$responseContent = $this->getDecodedJsonResponseContent();
161161

162162
static::assertSame($email, $responseContent['email']);
163-
static::assertFalse($responseContent['confirmed']);
163+
static::assertTrue($responseContent['confirmed']);
164164
static::assertFalse($responseContent['blacklisted']);
165165
static::assertTrue($responseContent['html_email']);
166166
static::assertFalse($responseContent['disabled']);

0 commit comments

Comments
 (0)