Skip to content

Commit

Permalink
Test File: Object to Array Typecasting Error fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
AVDiv committed Nov 1, 2023
1 parent 02f422d commit 6b42757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/Email/MailchimpTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function testSendEmail()
content: $content,
);

$result = (array) \json_decode($sender->send($message));
$result = (array) \json_decode($sender->send($message))[0];

$this->assertArrayHasKey('_id', $result);
$this->assertArrayHasKey('status', $result);
Expand Down

0 comments on commit 6b42757

Please sign in to comment.