test: Fix CakeEmailTest::testResetWithCharset()

Co-authored-by: Kenshin Okinaka <okinakak@yahoo.co.jp>
This commit is contained in:
Koji Tanaka 2023-01-07 21:12:58 +09:00 committed by Kamil Wylegala
parent 7c55817dbc
commit d7d7230929

View file

@ -1893,8 +1893,8 @@ class CakeEmailTest extends CakeTestCase {
$this->CakeEmail->charset = 'ISO-2022-JP';
$this->CakeEmail->reset();
$this->assertSame('utf-8', $this->CakeEmail->charset, $this->CakeEmail->charset);
$this->assertNull($this->CakeEmail->headerCharset, $this->CakeEmail->headerCharset);
$this->assertSame('utf-8', $this->CakeEmail->charset);
$this->assertNull($this->CakeEmail->headerCharset);
}
/**