Skip to content

Commit 517b261

Browse files
Remove calls to getMockForAbstractClass()
1 parent 8c064ea commit 517b261

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/DelegatingEngineTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ private function getEngineMock($template, $supports)
133133

134134
private function getStreamingEngineMock($template, $supports)
135135
{
136-
$engine = $this->getMockForAbstractClass(MyStreamingEngine::class);
136+
$engine = $this->createMock(MyStreamingEngine::class);
137137

138138
$engine->expects($this->once())
139139
->method('supports')

0 commit comments

Comments
 (0)