Skip to content

Commit 490e5d2

Browse files
author
Graham Wharton
committed
Fixed TransportBuilderTest
1 parent 491d7f1 commit 490e5d2

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
@@ -164,7 +164,7 @@ public function getTransportDataProvider()
164164
/**
165165
* @return void
166166
*/
167-
public function testSetFrom()
167+
public function testSetFromByStore()
168168
{
169169
$sender = ['email' => '[email protected]', 'name' => 'name'];
170170
$store = 1;
@@ -173,7 +173,7 @@ public function testSetFrom()
173173
->with($sender, $store)
174174
->willReturn($sender);
175175
$this->messageMock->expects($this->once())
176-
->method('setFromByStore')
176+
->method('setFrom')
177177
->with('[email protected]', 'name')
178178
->willReturnSelf();
179179

0 commit comments

Comments
 (0)