Skip to content

Commit 122019c

Browse files
author
Graham Wharton
committed
Fixed TransportBuilderTest
1 parent 0dc8578 commit 122019c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/Mail/Test/Unit/Template/TransportBuilderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public function getTransportDataProvider()
167167
/**
168168
* @return void
169169
*/
170-
public function testSetFrom()
170+
public function testSetFromByStore()
171171
{
172172
$sender = ['email' => '[email protected]', 'name' => 'name'];
173173
$store = 1;
@@ -176,7 +176,7 @@ public function testSetFrom()
176176
->with($sender, $store)
177177
->willReturn($sender);
178178
$this->messageMock->expects($this->once())
179-
->method('setFromByStore')
179+
->method('setFrom')
180180
->with('[email protected]', 'name')
181181
->willReturnSelf();
182182

0 commit comments

Comments
 (0)