Skip to content

Commit

Permalink
Fix another reference to LICENSE.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Apr 17, 2018
1 parent 2ab5a5e commit 887dc4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/TestCase/Mailer/EmailTest.php
Expand Up @@ -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);
Expand Down

0 comments on commit 887dc4d

Please sign in to comment.