From 887dc4d7219df894e1fc0b153a40f69d172e1991 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Mon, 16 Apr 2018 22:05:21 -0400 Subject: [PATCH] Fix another reference to LICENSE.txt --- tests/TestCase/Mailer/EmailTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestCase/Mailer/EmailTest.php b/tests/TestCase/Mailer/EmailTest.php index c9111d29fba..cd54ea1f323 100644 --- a/tests/TestCase/Mailer/EmailTest.php +++ b/tests/TestCase/Mailer/EmailTest.php @@ -879,13 +879,13 @@ public function testAttachments() $this->Email->addAttachments([CORE_PATH . 'config' . DS . 'bootstrap.php']); $this->Email->addAttachments([ 'other.txt' => CORE_PATH . 'config' . DS . 'bootstrap.php', - 'license' => CORE_PATH . 'LICENSE.txt' + 'license' => CORE_PATH . 'LICENSE' ]); $expected = [ 'basics.php' => ['file' => CAKE . 'basics.php', 'mimetype' => 'text/plain'], 'bootstrap.php' => ['file' => CORE_PATH . 'config' . DS . 'bootstrap.php', 'mimetype' => 'text/x-php'], 'other.txt' => ['file' => CORE_PATH . 'config' . DS . 'bootstrap.php', 'mimetype' => 'text/x-php'], - 'license' => ['file' => CORE_PATH . 'LICENSE.txt', 'mimetype' => 'text/plain'] + 'license' => ['file' => CORE_PATH . 'LICENSE', 'mimetype' => 'text/plain'] ]; $this->assertSame($expected, $this->Email->getAttachments()); $this->expectException(\InvalidArgumentException::class);