Skip to content

Commit 4b46634

Browse files
author
Martijn Swinkels
committed
Replaced test assertion to resolve undefined method call
1 parent 06412dc commit 4b46634

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Email/Test/Unit/Model/Template/FilterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ public function testFilterExceptionHandler()
278278
{
279279
$filter = $this->getModel();
280280
$filteredValue = $filter->filter(null);
281-
$this->assertInternalType('string', $filteredValue);
281+
$this->assertTrue(is_string($filteredValue));
282282
}
283283

284284
/**

0 commit comments

Comments
 (0)