You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$this->assertSame($body1, $body2, "The two bodies must reference the same object. The body cache ensures that the hash of the DKIM signature is valid.");
471
+
472
+
$email = newEmail();
473
+
$email->from('fabien@symfony.com');
474
+
$email->to('fabien@symfony.com');
475
+
$email->text('foo');
476
+
$body1 = $email->getBody();
477
+
$email->html('<b>bar</b>'); // We change a part to reset the body cache.
478
+
$body2 = $email->getBody();
479
+
$this->assertNotSame($body1, $body2, "The two bodies must not reference the same object. The body cache ensures that the hash of the DKIM signature is valid.");
0 commit comments