Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed unit test
  • Loading branch information
konarshankar07 committed Jan 23, 2021
commit 5cdb807a60e20cff3129e86403c80c5de41dd2a9
13 changes: 9 additions & 4 deletions app/code/Magento/Email/Test/Unit/Model/Template/FilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,11 @@ class FilterTest extends TestCase
*/
private $variableResolver;

/**
* @var MockObject|VariableResolverInterface
*/
private $variableResolverInterface;

/**
* @var array
*/
Expand Down Expand Up @@ -250,12 +255,12 @@ protected function getModel($mockedMethods = null)
$this->appState,
$this->backendUrlBuilder,
$this->configVariables,
[],
$this->cssInliner,
$this->directiveProcessors,
$this->variableResolver,
$this->cssProcessor,
$this->pubDirectory
$this->pubDirectory,
$this->cssInliner,
[],
$this->directiveProcessors
]
)
->setMethods($mockedMethods)
Expand Down